The methods in this class are grouped below.
(Links go to the
PolyLine Class Reference page.)
- Constructors / Destructor / Init / GetMatID()
- PolyLine::PolyLine()
PolyLine::PolyLine(PolyLine& from)
PolyLine::~PolyLine()
PolyLine::Init()
PolyLine::GetMatID(int
segment)
- Opened / Closed / Self Intersects / Clockwise / Surrounds
Point / SetNumPts()
-
PolyLine::Close()
PolyLine::IsClosed()
PolyLine::Open()
PolyLine::IsOpen()
PolyLine::SetNoSelfInt()
PolyLine::IsNoSelfInt()
PolyLine::IsClockWise()
PolyLine::SelfIntersects(BOOL findAll = FALSE, IntersectionCallback3D
*cb = NULL)
PolyLine::CurveLength()
PolyLine::SurroundsPoint(Point2 &point)
- Vertex / Segment counts
- PolyLine::Verts()
PolyLine::Segments()
PolyLine::SetNumPts(int
count, BOOL keep = TRUE)
- Append() / Insert() / Delete() / Reverse()
- PolyLine::Append(PolyPt&
p)
PolyLine::Insert(int
where, PolyPt& p)
PolyLine::Delete(int
where)
PolyLine::Reverse(BOOL
keepZero=FALSE)
- Bounding Box / InvalidateGeomCache()
- PolyLine::BuildBoundingBox()
PolyLine::GetBoundingBox(Matrix3 *tm=NULL)
PolyLine::InvalidateGeomCache()
- Render / Select / Snap / Transform
- PolyLine::Render(GraphicsWindow
*gw, Material *ma, RECT *rp, int compFlags, int numMat)
PolyLine::Render(GraphicsWindow *gw, Material *ma, int numMat, BOOL
colorSegs, BitArray
&segsel, BOOL useStartSegments=TRUE)
PolyLine::Select(GraphicsWindow *gw, Material *ma,
HitRegion *hr, int abortOnHit = FALSE)
PolyLine::Snap(GraphicsWindow
*gw, SnapInfo *snap, IPoint2 *p, Matrix3 &tm, DWORD
flags)
PolyLine::Transform(Matrix3
&tm)
- Dump()
- PolyLine::Dump(TCHAR
*title = NULL)
- Splice() / HitsSegment() / HitsPolyLine()
- PolyLine::SpliceLine(int
where, PolyLine &source, int splicePoint)
PolyLine::HitsSegment(Point2 p1, Point2 p2, BOOL findAll=FALSE, IntersectionCallback3D
*cb = NULL)
PolyLine::HitsPolyLine(PolyLine
&line, BOOL findAll=FALSE, IntersectionCallback3D
*cb = NULL)
- Capping Methods
- PolyLine::Cap3DS(CapVert *capverts, MeshCapInfo &capInfo, DWORD
options = 0)
- Interpolated Points / Tangent Vectors
- PolyLine::InterpPiece3D(int
segment, float t)
PolyLine::InterpCurve3D(float
u, int ptype=POLYSHP_INTERP_SIMPLE)
PolyLine::TangentPiece3D(int segment, float t)
PolyLine::TangentCurve3D(float
u, int ptype=POLYSHP_INTERP_SIMPLE)
- Operators
- PolyLine::operator=(PolyLine&
from)
PolyLine::operator=(Spline3D&
from)
PolyLine::operator[](int index)