CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdDbFaceRef Class Reference

#include <DbGeomRef.h>

Inheritance diagram for OdDbFaceRef:
OdRxObjectImpl< OdDbSubentRef > OdDbSubentRef OdDbGeomRef OdRxObject

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 ()
 
OdDbFaceRefoperator= (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())
 
OdDbSubentRefoperator= (const OdDbSubentRef &src)
 
virtual void copyFrom (const OdRxObject *src)
 
virtual void reset ()
 
virtual bool isValid () const
 
virtual bool isEmpty () const
 
virtual const OdDbCompoundObjectIdentity () 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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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< OdDbSubentRefcreateObject ()
 
- Static Public Member Functions inherited from OdDbSubentRef
static OdSmartPtr< OdDbSubentRefcreateObject (const OdDbCompoundObjectId &compId, const OdDbSubentId &subent=OdDbSubentId())
 
static OdSmartPtr< OdDbSubentRefcreateObject (const OdDbCompoundObjectId *pid, const OdDbSubentId &subentid=OdDbSubentId())
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- 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)
 

Detailed Description

This class represents a reference to a face object.

Library: Source code provided. <group OdDb_Classes>

Definition at line 239 of file DbGeomRef.h.

Constructor & Destructor Documentation

◆ OdDbFaceRef() [1/3]

OdDbFaceRef::OdDbFaceRef ( )

Constructor creates an instance of this class.

◆ OdDbFaceRef() [2/3]

OdDbFaceRef::OdDbFaceRef ( const OdDbCompoundObjectId compId,
const OdDbSubentId = OdDbSubentId(),
class BODY *  pBody = NULL 
)

Creates an instance of this class.

Parameters
compId[in]input component id
subEnt[in]input subentity
pBody[in]input BODY

◆ OdDbFaceRef() [3/3]

OdDbFaceRef::OdDbFaceRef ( const OdDbFaceRef faceRef)

Copies an instance of this class from input faceRef.

Parameters
faceRef[in]face reference

◆ ~OdDbFaceRef()

virtual OdDbFaceRef::~OdDbFaceRef ( )
virtual

Destructor destroys an instance of this class.

Member Function Documentation

◆ asmBody()

class BODY * OdDbFaceRef::asmBody ( ) const

Returns the ASM BODY object which this face reference may hold.

◆ copyFrom()

virtual void OdDbFaceRef::copyFrom ( const OdRxObject src)
virtual

Initializes this reference using a given object.

Parameters
src[in]face reference

Reimplemented from OdDbSubentRef.

◆ createEntity()

virtual OdDbEntityPtr OdDbFaceRef::createEntity ( ) const
virtual

Creates an entity using this face reference.

Returns
created entity.

Reimplemented from OdDbSubentRef.

◆ evaluateAndCacheGeometry()

virtual OdResult OdDbFaceRef::evaluateAndCacheGeometry ( )
virtual

Evaluates and caches the geometry.

Returns
eOk if geometry chached.

Reimplemented from OdDbSubentRef.

◆ isEmpty()

virtual bool OdDbFaceRef::isEmpty ( ) const
virtual

Checks whether this face reference is empty.

Returns
true if face reference is empty.

Reimplemented from OdDbSubentRef.

◆ isValid()

virtual bool OdDbFaceRef::isValid ( ) const
virtual

Checks whether this face reference is valid.

Returns
true if face reference is valid.

Reimplemented from OdDbSubentRef.

◆ ODRX_DECLARE_MEMBERS()

OdDbFaceRef::ODRX_DECLARE_MEMBERS ( OdDbFaceRef  )

◆ operator=()

OdDbFaceRef & OdDbFaceRef::operator= ( const OdDbFaceRef src)

Copies a given face reference to this reference.

Parameters
src[in]face reference

◆ reset()

virtual void OdDbFaceRef::reset ( )
virtual

Resets this fase reference.

Reimplemented from OdDbSubentRef.


The documentation for this class was generated from the following file: