Functions
Insert_Cutting_Section

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. More...
 
HC_KEY DInsert_Cutting_Section (int count, const HC_DPLANE *planes)
 Similar to Insert_Cutting_Section(), but operates on double-precision data. More...
 

Detailed Description

Function Documentation

HC_KEY DInsert_Cutting_Section ( int  count,
const HC_DPLANE *  planes 
)

Similar to Insert_Cutting_Section(), but operates on double-precision data.

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, or -1 if an error occurred.
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, or -1 if an error occurred.

DETAILS

Normal cutting planes result in the union of the "cut away" parts, which can be viewed as the intersection of the "kept" parts. The planes within a section behave in the opposite manner with respect to each other, so that two intersecting planes in a section remove a wedge instead of leaving a wedge. The current cutting plane becomes a section defined with one plane. Multiple sections 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.