CFx SDK Documentation 2024 SP0
|
#include <DbGeomRef.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbPathRef) | |
OdDbPathRef () | |
OdDbPathRef (const OdArray< OdDbEdgeRef > &edges) | |
OdDbPathRef (const OdDbFullSubentPathArray &edgeSubentPathArr, const OdDbFullSubentPathArray &faceSubentPathArr) | |
OdDbPathRef (const OdDbPathRef &src) | |
virtual | ~OdDbPathRef () |
OdDbPathRef & | operator= (const OdDbPathRef &) |
virtual void | copyFrom (const OdRxObject *src) |
virtual void | reset () |
virtual bool | isValid () const |
virtual bool | isEmpty () const |
void | setEdgeRefs (const OdArray< OdDbEdgeRef > &edges) |
OdResult | getEntityArray (OdArray< OdDbEntity * > &entities, bool concatenate) const |
const OdArray< OdDbEdgeRef > & | edgeRefs () const |
bool | isEqualTo (const OdGeCurve3d *pOther) |
bool | isReferencePath () |
virtual OdDbEntityPtr | createEntity () const |
virtual OdResult | evaluateAndCacheGeometry () |
Public Member Functions inherited from OdRxObjectImpl< OdDbGeomRef > | |
OdRxObjectImpl () | |
void | addRef () |
void | release () |
long | numRefs () const |
Public Member Functions inherited from OdDbGeomRef | |
ODRX_DECLARE_MEMBERS (OdDbGeomRef) | |
virtual | ~OdDbGeomRef () |
virtual void | reset () |
virtual bool | isValid () const |
virtual bool | isEmpty () const |
virtual OdDbEntityPtr | createEntity () const |
virtual OdResult | evaluateAndCacheGeometry () |
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 OdRxObjectImpl< OdDbGeomRef > | |
static OdSmartPtr< OdDbGeomRef > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdDbGeomRef > | |
ODRX_HEAP_OPERATORS () | |
This class represents a reference to a path object.
<group OdDb_Classes>
Definition at line 742 of file DbGeomRef.h.
OdDbPathRef::OdDbPathRef | ( | ) |
Constructor creates an instance of this class.
OdDbPathRef::OdDbPathRef | ( | const OdArray< OdDbEdgeRef > & | edges | ) |
Creates an OdDbPathRef from a sequence of OdDbEdgeRefs.
edges | [in] sequence of OdDbEdgeRefs. |
OdDbPathRef::OdDbPathRef | ( | const OdDbFullSubentPathArray & | edgeSubentPathArr, |
const OdDbFullSubentPathArray & | faceSubentPathArr | ||
) |
Creates for an OdDbPathRef that is a sequence of connected edges.
edgeSubentPathArr | [in] Subent paths of the edges that make up the path. |
faceSubentPathArr | [in] Optional subent paths of the faces for each edge. The number of elements in this array must be 0 or be the same as the number of elements in edgeSubentPathArr. |
OdDbPathRef::OdDbPathRef | ( | const OdDbPathRef & | src | ) |
Creates an OdDbPathRef based on another OdDbPathRef object.
src | [in] Input a reference to the object to copy. |
|
virtual |
Destructor destroys an instance of this class.
|
virtual |
Initializes this reference using a given object.
src | [in] Input a reference to the object to copy. |
Reimplemented from OdRxObject.
|
virtual |
const OdArray< OdDbEdgeRef > & OdDbPathRef::edgeRefs | ( | ) | const |
Returns the array of edge references stored in the path reference.
|
virtual |
Evaluates and caches the geometry.
Reimplemented from OdDbGeomRef.
OdResult OdDbPathRef::getEntityArray | ( | OdArray< OdDbEntity * > & | entities, |
bool | concatenate | ||
) | const |
Returns an array of entities created from the edge references in the path. If the second argument is True, it tries to concatenate them.
entities | [out] array of OdDbEntities created from the individual OdDbEdgeRefs in the path. |
concatenate | [out] If concatenate is true, it tries to concatenate them. |
|
virtual |
Checks whether this path reference is empty.
Reimplemented from OdDbGeomRef.
bool OdDbPathRef::isEqualTo | ( | const OdGeCurve3d * | pOther | ) |
Checks whether the geometry of the path is equal to the geometry of a given curve.
pOther | [in] input other curve which will be compared. |
bool OdDbPathRef::isReferencePath | ( | ) |
Checks whether all elements of this path reference are the references to the entities.
|
virtual |
Checks whether this path reference is valid.
Reimplemented from OdDbGeomRef.
OdDbPathRef::ODRX_DECLARE_MEMBERS | ( | OdDbPathRef | ) |
OdDbPathRef & OdDbPathRef::operator= | ( | const OdDbPathRef & | ) |
Copies a given path reference to this reference.
|
virtual |
Resets this path reference.
Reimplemented from OdDbGeomRef.
void OdDbPathRef::setEdgeRefs | ( | const OdArray< OdDbEdgeRef > & | edges | ) |
Sets the path reference from a sequence of edge references.
edges | [in] sequence of edge references. |