Brief Index      Full Index      I.M. Reference

Insert_Cutting_Section


Functions

void Insert_Cutting_Section (int count, float *planes)
HC_KEY KInsert_Cutting_Section (int count, float *planes)
void QInsert_Cutting_Section (const char *segment, int count, float *planes)
HC_KEY QKInsert_Cutting_Section (const char *segment, int count, float *planes)

Function Documentation

void Insert_Cutting_Section ( int  count,
float *  planes 
)

Creates a special piece of geometry which "cuts away" a portion of the scene.

Parameters:
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.

DETAILS

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.

NOTES

For database searches (including selections) 3dGS will return the key to an object of type "cutting section".

RESTRICTIONS

This definition of a cutting section only allows for convex volumes to be removed.

See also:
Insert_Cutting_Plane, Show_Device_Info, Set_Visibility, Set_Heuristics, Insert_Polygon, Insert_Shell, Insert_Mesh.

HC_KEY KInsert_Cutting_Section ( int  count,
float *  planes 
)

Similar to Insert_Cutting_Section(), but returns an HC_KEY to the object.

Parameters:
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.
Returns:
key

DETAILS

No additional details. See Insert_Cutting_Section()

void QInsert_Cutting_Section ( const char *  segment,
int  count,
float *  planes 
)

Similar to Insert_Cutting_Section(), but operates on a given segment rather than the currently open one.

Parameters:
segment - Name of the segment into which the cutting section should be inserted.
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.

DETAILS

No additional details. See Insert_Cutting_Section()

HC_KEY QKInsert_Cutting_Section ( const char *  segment,
int  count,
float *  planes 
)

Similar to Insert_Cutting_Section(), but operates on a given segment and returns an HC_KEY to the object.

Parameters:
segment - Name of the segment into which the cutting section should be inserted.
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.
Returns:
key

DETAILS

No additional details. See Insert_Cutting_Section()

Main Index
Brief Index      Full Index      I.M. Functions