<< Back      Brief Index      Full Index      Forward >>

Compute_Shell_Sweep


Functions

void Compute_Shell_Sweep (HC_KEY shellkey, HC_POINT *direction, HC_KEY *front, HC_KEY *back, HC_KEY *side, const char *options)
HC_KEY KCompute_Shell_Sweep (HC_KEY shellkey, HC_POINT *direction, const char *options)

Function Documentation

void Compute_Shell_Sweep HC_KEY  shellkey,
HC_POINT *  direction,
HC_KEY *  front,
HC_KEY *  back,
HC_KEY *  side,
const char *  options
 

Sweeps an existing shell along a defined path to create new shells that containes the swept volume.

Parameters:
shellkey - Key to the shell to be swept
direction - A vector giving the direction and distance to sweep the shell.
front - The key to the shell that represents the front portion of the swept shell. Passed by reference. Returned to user.
back - The key to the shell that represents the back portion of the swept shell. Passed by reference. Returned to user.
side - The key to the shell that represents the side portion of the swept shell. Passed by reference. Returned to user.
options - A string through which a user can set options that affect the sweep.

DETAILS

This function sweeps the provided shell along the specified path and creates new shells that represent the front, back, and sides of the swept volume. The newly created shells are placed into the currently open segment.

NOTES

The KCompute_Shell_Sweep() variant creates a single shell to represent the swept volume. No options are currently supported.

RESTRICTIONS

This API expects the shell that is to be swept to be a closed, convex surface. In some cases developers may be able to use Compute_Optimised_Shell to remove cracks and duplicate vertices from the original shell.

See also:
HC_Compute_Optimised_Shell

HC_KEY KCompute_Shell_Sweep HC_KEY  shellkey,
HC_POINT *  direction,
const char *  options
 

Sweeps an existing shell along a defined path to create a single shell that contains the swept volume.

Parameters:
shellkey - Key to the shell to be swept
direction - A vector giving the direction and distance to sweep the shell.
options - A string through which a user can set options that affect the sweep.
Returns:
new_key - Key to the shell that contains the swept volume.

DETAILS

This function sweeps the provided shell along the specified path and creates a new shell that represents the newly swept volume. The newly created shell is placed in the currently open segment.

NOTES

The Compute_Shell_Sweep() variant creates three distinct shells that represent the front, back, and side components of the shell volume. No options are currently supported.

RESTRICTIONS

This API expects the shell that is to be swept to be a closed, convex surface. In some cases developers may be able to use Compute_Optimised_Shell to remove cracks and duplicate vertices from the original shell.

See also:
HC_Compute_Optimised_Shell
Main Index

<< Back      Brief Index      Full Index      Forward >>