HC_Compute_Swept_Shell
-
Key
HC_Compute_Swept_Shell(Key shellkey, Vector const *direction_in, Key *front_key, Key *back_key, Key *side_key, char const *options) - Key HC_Compute_Swept_Shell(Key shellkey, Vector const direction_in, Key front_key, Key back_key, Key side_key, char const options)
Sweeps an existing shell along a defined path to create new shells that containes the swept volume.
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.
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_Optimized_Shell() to remove cracks and duplicate vertices from the original shell.
HC_Compute_Optimized_ShellParameters
shellkey: Key to the shell to be swept
direction_in: A vector giving the direction and distance to sweep the shell.
front_key: The key to the shell that represents the front portion of the swept shell. Passed by reference. Returned to user.
back_key: The key to the shell that represents the back portion of the swept shell. Passed by reference. Returned to user.
side_key: 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.