#include <templt.h>
Public Member Functions |
|
Template3D (Spline3D *spline) | |
Template3D (PolyLine *line) | |
void | Create (PolyLine *line) |
~Template3D () | |
int | Points () |
BOOL | SurroundsPoint (Point2 &point) |
BOOL | IsClockWise () |
BOOL | SelfIntersects (BOOL findAll=FALSE, IntersectionCallback3D *cb=NULL) |
BOOL | Intersects (Template3D &t, BOOL findAll=FALSE, IntersectionCallback3D *cb=NULL) |
Box2D | Bound () |
Box3 | Bound3D () |
void | Ready2DTemplate () |
Public Attributes |
|
int | points |
BOOL | closed |
Point3 * | pts |
Template3D | ( | Spline3D * | spline | ) |
Template3D | ( | PolyLine * | line | ) |
~Template3D | ( | ) |
void Create | ( | PolyLine * | line | ) |
int Points | ( | ) | [inline] |
{ return points; }
BOOL SurroundsPoint | ( | Point2 & | point | ) |
BOOL IsClockWise | ( | ) |
BOOL SelfIntersects | ( | BOOL | findAll = FALSE , |
IntersectionCallback3D * | cb = NULL |
||
) |
BOOL Intersects | ( | Template3D & | t, |
BOOL | findAll = FALSE , |
||
IntersectionCallback3D * | cb = NULL |
||
) |
Box2D Bound | ( | ) |
Box3 Bound3D | ( | ) |
void Ready2DTemplate | ( | ) |