Class BezierShapeTopology
See Also: Class BezierShape, Template Class Tab, Class BitArray.
class BezierShapeTopology
Description:
This class is available in release 3.0 and later only.
This class has data members and methods used to build and store topology information on a BezierShape. This class is used with the BezierShape::GetTopology() method.
Data Members:
public:
BOOL ready;
TRUE if the data has been built; otherwise FALSE.
IntTab kcount;
A table of integers containing the knot count for each bezier spline in the shape.
BitArray closed;
A bit array containing a 1 for each closed spline or a 0 for each open one in the shape.
Methods:
public:
Prototype:
BezierShapeTopology();
Remarks:
Constructor. The data members are initialized as follows:
ready = FALSE;
Prototype:
void Build(BezierShape &shape);
Remarks:
Builds the topology data for the specified shape.
Parameters:
BezierShape &shape
The shape whose topology data will be built.
Prototype:
IOResult Save(ISave *isave);
Remarks:
Used internally to save the shape topology data.
Prototype:
IOResult Load(ILoad *iload);
Remarks:
Used internally to load the shape topology data.
Prototype:
int operator==(const BezierShapeTopology& t);
Remarks:
Assignment operator.