Detailed Description
- See also:
- Class GenericHierarchy, Class BitArray.
- Description:
- This class stores the hierarchy tree of a shape object. In addition it stores a BitArray with an entry for each polygon in the shape which indicates whether that polygon should be reversed in order to provide the proper clockwise/counterclockwise ordering for the nested shapes. All methods of this class are implemented by the system.
- Data Members:
- GenericHierarchy hier;
Describes the hierarchy.
BitArray reverse;
Indicates whether that polygon should be reversed in order to provide the proper clockwise / counterclockwise ordering for the nested shapes. There is one bit in the bit array for every polygon in the shape. For example, if you pass in two nested circles and they are both clockwise, the outermost circle will have its reverse bit set to indicate it should be reversed in order to be properly extruded or lofted. This is because for nested shapes the outermost circle should be counterclockwise.
#include <shphier.h>
List of all members.
Constructor & Destructor Documentation
- Parameters:
- int polys
The number of polygons in the hierarchy.
Member Function Documentation
void New |
( |
int |
polys = 0 | ) |
[inline] |
- Parameters:
- int polys = 0
The number of polygons in the hierarchy.
- Operators:
Member Data Documentation
ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy
ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy ShapeHierarchy