Functions | |
void | Delete_Trim (int index) |
void Delete_Trim | ( | int | index | ) |
Deletes a trim object from the trim list.
index | - Offset of the particular trim object in the trim list. |
This call is not legal except when there is a valid NURBS Surface that has been opened with a call to Open_Geometry.
Trimming objects are prepended to the front of the trim list, meaning that trim list offset 0 is the most recently inserted. When a trim is deleted, all later items in the list fill in. Thus, the following snippet of pseudocode would be one way to remove all trims from a nurbs surface:
Open_Geometry(surface_key) do { Show_Trim_Count( &count ) if( !count ) break Delete_Trim(0) } forever Close_Geometry()