CFx SDK Documentation
2020SP3
|
#include <GiPolyline.h>
Public Types | |
enum | SegType { kLine, kArc, kCoincident, kPoint, kEmpty } |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiPolyline) | |
virtual unsigned int | numVerts () const =0 |
virtual bool | isClosed () const =0 |
virtual OdGeVector3d | normal () const =0 |
virtual double | thickness () const =0 |
virtual double | getConstantWidth () const =0 |
virtual bool | hasWidth () const =0 |
virtual bool | hasPlinegen () const =0 |
virtual double | elevation () const =0 |
virtual SegType | segType (unsigned int index) const =0 |
virtual void | getLineSegAt (unsigned int index, OdGeLineSeg2d &ln) const =0 |
virtual void | getLineSegAt (unsigned int index, OdGeLineSeg3d &ln) const =0 |
virtual void | getArcSegAt (unsigned int index, OdGeCircArc2d &arc) const =0 |
virtual void | getArcSegAt (unsigned int index, OdGeCircArc3d &arc) const =0 |
virtual void | getPointAt (unsigned int index, OdGePoint2d &pt) const =0 |
virtual double | getBulgeAt (unsigned int index) const =0 |
virtual void | getWidthsAt (unsigned int index, double &startWidth, double &endWidth) const =0 |
virtual OdRxObjectPtr | getDbPolyline () const =0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class implements the OdGi equivalent of an OdDbPolyline or "lightweight" polyline.
<group OdGi_Classes>
Definition at line 48 of file GiPolyline.h.
Enumerator | |
---|---|
kLine | |
kArc | |
kCoincident | |
kPoint | |
kEmpty |
Definition at line 53 of file GiPolyline.h.
|
pure virtual |
Returns the elevation for this entity.
|
pure virtual |
Returns the arc segment starting at the specified index.
|
pure virtual |
Returns the arc segment starting at the specified index.
|
pure virtual |
Returns the bulge value for a specified point.
|
pure virtual |
Returns the constant width for this entity.
|
pure virtual |
Returns the original OdDbPolyline object from which this OdGiPolyline was created.
|
pure virtual |
Returns the line segment starting at the specified index.
|
pure virtual |
Returns the line segment starting at the specified index.
|
pure virtual |
Returns a specified point from this entity.
|
pure virtual |
Returns the start and end widths for a specified point.
|
pure virtual |
Returns the PLINEGEN flag for this entity. If PLINEGEN is true, linetype generation will be patterned across the entire polyline, rather than being done for each segment individually.
|
pure virtual |
Returns true if the vertices in this entity contain start and end width data, false otherwise.
|
pure virtual |
Returns true if this polyline is closed, false otherwise.
|
pure virtual |
Returns the normal vector for this entity.
|
pure virtual |
Returns the number of vertices in the entity.
OdGiPolyline::ODRX_DECLARE_MEMBERS | ( | OdGiPolyline | ) |
|
pure virtual |
Returns the segment type at the specified index.
|
pure virtual |
Returns the thickness for this entity.