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

#include <DbGeomRef.h>

Inheritance diagram for OdDbVectorRef:
OdRxObjectImpl< OdDbGeomRef > OdDbGeomRef OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbVectorRef)
 
 OdDbVectorRef ()
 
 OdDbVectorRef (const OdGeVector3d &vector)
 
 OdDbVectorRef (const OdDbVectorRef &src)
 
virtual ~OdDbVectorRef ()
 
OdDbVectorRefoperator= (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 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< OdDbGeomRef >
static OdSmartPtr< OdDbGeomRefcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdDbGeomRef >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

This class represents a reference to a vector object.

<group OdDb_Classes>

Definition at line 883 of file DbGeomRef.h.

Constructor & Destructor Documentation

◆ OdDbVectorRef() [1/3]

OdDbVectorRef::OdDbVectorRef ( )

Constructor creates an instance of this class.

◆ OdDbVectorRef() [2/3]

OdDbVectorRef::OdDbVectorRef ( const OdGeVector3d vector)

Creates an instance of this class.

Parameters
vector[in] vector.

◆ OdDbVectorRef() [3/3]

OdDbVectorRef::OdDbVectorRef ( const OdDbVectorRef src)

Creates an instance of this class.

Parameters
src[in] vector reference.

◆ ~OdDbVectorRef()

virtual OdDbVectorRef::~OdDbVectorRef ( )
virtual

Destructor destroys an instance of this class.

Member Function Documentation

◆ copyFrom()

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

Initializes this reference using a given object.

Parameters
src[in] vector reference.

Reimplemented from OdRxObject.

◆ createEntity()

virtual OdDbEntityPtr OdDbVectorRef::createEntity ( ) const
virtual

Creates an entity using this vector reference.

Returns
created entity.

Reimplemented from OdDbGeomRef.

◆ evaluateAndCacheGeometry()

virtual OdResult OdDbVectorRef::evaluateAndCacheGeometry ( )
virtual

Evaluates and caches the geometry.

Returns
eOk.

Reimplemented from OdDbGeomRef.

◆ isEmpty()

virtual bool OdDbVectorRef::isEmpty ( ) const
virtual

Checks whether this vector reference is empty.

Returns
true if vector reference is empty.

Reimplemented from OdDbGeomRef.

◆ isValid()

virtual bool OdDbVectorRef::isValid ( ) const
virtual

Checks whether this vector reference is valid.

Returns
true if vector reference is valid.

Reimplemented from OdDbGeomRef.

◆ ODRX_DECLARE_MEMBERS()

OdDbVectorRef::ODRX_DECLARE_MEMBERS ( OdDbVectorRef  )

◆ operator=()

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

Copies a given vector reference to this reference.

Parameters
src[in] vector reference.

◆ reset()

virtual void OdDbVectorRef::reset ( )
virtual

Resets this vector reference.

Reimplemented from OdDbGeomRef.

◆ set()

void OdDbVectorRef::set ( const OdGeVector3d vector)

Sets a three-dimensional vector for this vector reference.

Parameters
vector[in] vector reference.

◆ vector()

const OdGeVector3d OdDbVectorRef::vector ( ) const

Returns a three-dimensional vector stored by this vector reference.


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