Functions | |
HC_KEY | Insert_Cutting_Section (int count, const HC_PLANE *planes) |
Creates a special piece of geometry which "cuts away" a portion of the scene.
count | - The number of planes in the planes array. |
planes | - An array of (a,b,c,d) quadruplets which define the separate planes within the cutting section. |
Normal cutting planes result in the union of the "cut away" parts, which can be viewed as the inters ection of the "kept" parts. The planes within a section behave in the opposite manner with respect to each other, so that 2 intersecting planes in a section remove a wedge instead of leaving a wedge. The current cutting_plane becomes a section defined with 1 plane. Multiple sections and/or planes act together in the same manner as cutting planes, where each new cutter removes some additional portion of the scene.
For database searches (including selections) 3dGS will return the key to an object of type "cutting section".
This definition of a cutting section only allows for convex volumes to be removed.