CFx SDK Documentation 2024 SP0
|
#include <DbGeomRef.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbVectorRef) | |
OdDbVectorRef () | |
OdDbVectorRef (const OdGeVector3d &vector) | |
OdDbVectorRef (const OdDbVectorRef &src) | |
virtual | ~OdDbVectorRef () |
OdDbVectorRef & | operator= (const OdDbVectorRef &src) |
virtual void | copyFrom (const OdRxObject *src) |
virtual void | reset () |
virtual bool | isValid () const |
virtual bool | isEmpty () const |
const OdGeVector3d | vector () const |
void | set (const OdGeVector3d &vector) |
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 vector object.
<group OdDb_Classes>
Definition at line 883 of file DbGeomRef.h.
OdDbVectorRef::OdDbVectorRef | ( | ) |
Constructor creates an instance of this class.
OdDbVectorRef::OdDbVectorRef | ( | const OdGeVector3d & | vector | ) |
Creates an instance of this class.
vector | [in] vector. |
OdDbVectorRef::OdDbVectorRef | ( | const OdDbVectorRef & | src | ) |
Creates an instance of this class.
src | [in] vector reference. |
|
virtual |
Destructor destroys an instance of this class.
|
virtual |
Initializes this reference using a given object.
src | [in] vector reference. |
Reimplemented from OdRxObject.
|
virtual |
Creates an entity using this vector reference.
Reimplemented from OdDbGeomRef.
|
virtual |
|
virtual |
Checks whether this vector reference is empty.
Reimplemented from OdDbGeomRef.
|
virtual |
Checks whether this vector reference is valid.
Reimplemented from OdDbGeomRef.
OdDbVectorRef::ODRX_DECLARE_MEMBERS | ( | OdDbVectorRef | ) |
OdDbVectorRef & OdDbVectorRef::operator= | ( | const OdDbVectorRef & | src | ) |
Copies a given vector reference to this reference.
src | [in] vector reference. |
|
virtual |
Resets this vector reference.
Reimplemented from OdDbGeomRef.
void OdDbVectorRef::set | ( | const OdGeVector3d & | vector | ) |
Sets a three-dimensional vector for this vector reference.
vector | [in] vector reference. |
const OdGeVector3d OdDbVectorRef::vector | ( | ) | const |
Returns a three-dimensional vector stored by this vector reference.