CFx SDK Documentation 2024 SP0
|
#include <DbGeomRef.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbFaceRef) | |
OdDbFaceRef () | |
OdDbFaceRef (const OdDbCompoundObjectId &compId, const OdDbSubentId &=OdDbSubentId(), class BODY *pBody=NULL) | |
OdDbFaceRef (const OdDbFaceRef &faceRef) | |
virtual | ~OdDbFaceRef () |
OdDbFaceRef & | operator= (const OdDbFaceRef &src) |
virtual void | copyFrom (const OdRxObject *src) |
virtual void | reset () |
virtual bool | isValid () const |
virtual bool | isEmpty () const |
class BODY * | asmBody () const |
virtual OdDbEntityPtr | createEntity () const |
virtual OdResult | evaluateAndCacheGeometry () |
Public Member Functions inherited from OdRxObjectImpl< OdDbSubentRef > | |
OdRxObjectImpl () | |
void | addRef () |
void | release () |
long | numRefs () const |
Public Member Functions inherited from OdDbSubentRef | |
ODRX_DECLARE_MEMBERS (OdDbSubentRef) | |
OdDbSubentRef () | |
OdDbSubentRef (const OdDbCompoundObjectId &compId, const OdDbSubentId &subent=OdDbSubentId()) | |
OdDbSubentRef & | operator= (const OdDbSubentRef &src) |
virtual void | copyFrom (const OdRxObject *src) |
virtual void | reset () |
virtual bool | isValid () const |
virtual bool | isEmpty () const |
virtual const OdDbCompoundObjectId & | entity () const |
virtual OdDbSubentId | subentId () const |
virtual OdDbEntityPtr | createEntity () const |
virtual OdResult | evaluateAndCacheGeometry () |
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< 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 () |
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 a face object.
Library: Source code provided. <group OdDb_Classes>
Definition at line 239 of file DbGeomRef.h.
OdDbFaceRef::OdDbFaceRef | ( | ) |
Constructor creates an instance of this class.
OdDbFaceRef::OdDbFaceRef | ( | const OdDbCompoundObjectId & | compId, |
const OdDbSubentId & | = OdDbSubentId() , |
||
class BODY * | pBody = NULL |
||
) |
Creates an instance of this class.
compId[in] | input component id |
subEnt[in] | input subentity |
pBody[in] | input BODY |
OdDbFaceRef::OdDbFaceRef | ( | const OdDbFaceRef & | faceRef | ) |
Copies an instance of this class from input faceRef.
faceRef[in] | face reference |
|
virtual |
Destructor destroys an instance of this class.
class BODY * OdDbFaceRef::asmBody | ( | ) | const |
Returns the ASM BODY object which this face reference may hold.
|
virtual |
Initializes this reference using a given object.
src[in] | face reference |
Reimplemented from OdDbSubentRef.
|
virtual |
Creates an entity using this face reference.
Reimplemented from OdDbSubentRef.
|
virtual |
Evaluates and caches the geometry.
Reimplemented from OdDbSubentRef.
|
virtual |
Checks whether this face reference is empty.
Reimplemented from OdDbSubentRef.
|
virtual |
Checks whether this face reference is valid.
Reimplemented from OdDbSubentRef.
OdDbFaceRef::ODRX_DECLARE_MEMBERS | ( | OdDbFaceRef | ) |
OdDbFaceRef & OdDbFaceRef::operator= | ( | const OdDbFaceRef & | src | ) |
Copies a given face reference to this reference.
src[in] | face reference |
|
virtual |
Resets this fase reference.
Reimplemented from OdDbSubentRef.