|
CFx SDK Documentation 2024 SP0
|
#include <DbGeomRef.h>
Static Public Member Functions | |
| static OdSmartPtr< OdDbEdgeRef > | createObject (const OdDbCompoundObjectIdPtr &pid, const OdGeCurve3d *pCurve) |
| static OdSmartPtr< OdDbEdgeRef > | createObject (const OdDbCompoundObjectId &compId, const OdGeCurve3d *pCurve) |
| static OdSmartPtr< OdDbEdgeRef > | createObject (const OdDbEntity *pEnt) |
| static OdSmartPtr< OdDbEdgeRef > | createObject (const OdGeCurve3d *pCurve) |
Static Public Member Functions inherited from OdRxObjectImpl< OdDbSubentRef > | |
| static OdSmartPtr< OdDbSubentRef > | createObject () |
Static Public Member Functions inherited from OdDbSubentRef | |
| static OdSmartPtr< OdDbSubentRef > | createObject (const OdDbCompoundObjectId &compId, const OdDbSubentId &subent=OdDbSubentId()) |
| static OdSmartPtr< OdDbSubentRef > | createObject (const OdDbCompoundObjectId *pid, const OdDbSubentId &subentid=OdDbSubentId()) |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Additional Inherited Members | |
Protected Member Functions inherited from OdRxObjectImpl< OdDbSubentRef > | |
| ODRX_HEAP_OPERATORS () | |
Protected Member Functions inherited from OdDbSubentRef | |
| void | setEntity (const OdDbCompoundObjectId &entityId) |
| void | setSubent (const OdDbSubentId &subentId) |
| void | setFromSubentPath (const OdDbFullSubentPath &pathSubEnt) |
This class represents a reference to an edge object.
<group OdDb_Classes>
Definition at line 344 of file DbGeomRef.h.
| OdDbEdgeRef::OdDbEdgeRef | ( | ) |
Constructor creates an instance of this class.
| OdDbEdgeRef::OdDbEdgeRef | ( | const OdDbFullSubentPath & | path | ) |
Creates OdDbEdgeRef from an entity in a block table record and referenced via a path of block inserts.
| path | [in] path. |
| OdDbEdgeRef::OdDbEdgeRef | ( | const OdDbCompoundObjectId & | comId, |
| const OdDbSubentId & | edgeSubentId = OdDbSubentId(), |
||
| const OdDbSubentId & | faceSubentId = OdDbSubentId(), |
||
| const OdGeCurve3d * | pCurve = NULL |
||
| ) |
Creates an instance of this class.
| comId | [in] Component id. |
| edgeSubentId | [in] edge subentid. |
| faceSubentId | [in] face subentid. |
| pCurve | [in] geometry curve. |
| OdDbEdgeRef::OdDbEdgeRef | ( | const OdGeCurve3d * | pGeCurve | ) |
| OdDbEdgeRef::OdDbEdgeRef | ( | const OdDbEdgeRef & | src | ) |
Creates an OdDbEdgeRef based on another OdDbEdgeRef object.
| src | [in] edge reference that will be copied. |
|
virtual |
Destructor destroys an instance of this class.
|
virtual |
Initializes this reference using a given object.
| src | [in] edge reference that will be copied. |
Reimplemented from OdDbSubentRef.
|
virtual |
Creates an entity using this edge reference.
Reimplemented from OdDbSubentRef.
|
static |
Creates an instance of this class.
| compId[in] | input component id |
| pCurve[in] | input geometry curve |
|
inlinestatic |
Deprecated.
Definition at line 385 of file DbGeomRef.h.
|
static |
Creates an instance of this class.
| pEnt[in] | entity |
|
static |
Creates an instance of this class.
| pCurve[in] | geometry curve |
| const OdGeCurve3d * OdDbEdgeRef::curve | ( | ) | const |
Returns the constant three-dimensional curve which the edge reference can hold.
|
virtual |
Evaluates and caches the geometry.
Reimplemented from OdDbSubentRef.
|
virtual |
Evaluates the curve.
| pCurve | [out] evaluated curve. |
| OdDbSubentId OdDbEdgeRef::faceSubentId | ( | ) | const |
Returns the face subent ID of one of the faces adjacent to the referenced edge.
|
virtual |
Checks whether this edge reference is empty.
Reimplemented from OdDbSubentRef.
|
virtual |
Checks whether this edge reference is valid.
Reimplemented from OdDbSubentRef.
| OdDbEdgeRef::ODRX_DECLARE_MEMBERS | ( | OdDbEdgeRef | ) |
| OdDbEdgeRef & OdDbEdgeRef::operator= | ( | const OdDbEdgeRef & | src | ) |
Copies a given edge reference to this reference.
| src | [in] edge reference that will be copied. |
|
virtual |
Resets this edge reference.
Reimplemented from OdDbSubentRef.
| void OdDbEdgeRef::setCurve | ( | const OdGeCurve3d * | pCurve | ) |
Sets the constant three-dimensional curve to be hold by this edge reference.
| pCurve | [in] input curve. |
| void OdDbEdgeRef::setFaceSubentity | ( | const OdDbSubentId & | faceSubentId | ) |
The edge reference can use the subent ID of a face subentity. The face entity is used to restrict the referenced edge subentity.
| src | [in] Face subentityid. |