Brief Index      Full Index      Events Index      I.M. Reference

Insert_Cutting_Section

Functions

HC_KEY Insert_Cutting_Section (int count, const HC_PLANE *planes)

Function Documentation

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.

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:
The key to the inserted geometry.

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.

Brief Index      Full Index      Events Index      I.M. Reference