Public Member Functions | Public Attributes

BezierShapeTopology Class Reference

Search for all occurrences

Detailed Description

See also:
Class BezierShape, Template Class Tab, Class BitArray.

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:
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.

#include <shape.h>

Inheritance diagram for BezierShapeTopology:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  BezierShapeTopology ()
CoreExport void  Build (BezierShape &shape)
CoreExport int  operator== (const BezierShapeTopology &t)
CoreExport IOResult  Save (ISave *isave)
CoreExport IOResult  Load (ILoad *iload)

Public Attributes

BOOL  ready
IntTab  kcount
BitArray  closed

Constructor & Destructor Documentation

BezierShapeTopology ( ) [inline]
Remarks:
Constructor. The data members are initialized as follows:

ready = FALSE;
{ ready = FALSE; }

Member Function Documentation

CoreExport void Build ( BezierShape shape )
Remarks:
Builds the topology data for the specified shape.
Parameters:
BezierShape &shape

The shape whose topology data will be built.
CoreExport int operator== ( const BezierShapeTopology t )
Remarks:
Assignment operator.
CoreExport IOResult Save ( ISave isave )
Remarks:
Used internally to save the shape topology data.
CoreExport IOResult Load ( ILoad iload )
Remarks:
Used internally to load the shape topology data.

Member Data Documentation

BOOL ready

BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology
BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology BezierShapeTopology