CFx SDK Documentation 2024 SP0
|
#include <BcfPoint.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfPoint) | |
OdBcfPoint () | |
virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
virtual bool | validate () const ODRX_OVERRIDE |
const double & | getX () const |
bool | isXUnset () const |
const double & | getY () const |
bool | isYUnset () const |
const double & | getZ () const |
bool | isZUnset () const |
Public Member Functions inherited from OdBcf::OdBcfElement | |
ODRX_DECLARE_MEMBERS (OdBcfElement) | |
virtual OdResult | inFields (TiXmlElement *pParent)=0 |
virtual OdResult | outFields (TiXmlElement *pParent) const =0 |
virtual bool | validate () const =0 |
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 |
Static Public Member Functions | |
static OdSmartPtr< OdBcfPoint > | createObject (double x, double y, double z) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes | |
double | m_x |
double | m_y |
double | m_z |
A class that represents a point object within the BCF format.
Definition at line 39 of file BcfPoint.h.
OdBcf::OdBcfPoint::OdBcfPoint | ( | ) |
Creates a new point object with default parameters.
|
static |
Creates a new point object.
x | [in] A point coordinate along the X-axis. |
y | [in] A point coordinate along the Y-axis. |
z | [in] A point coordinate along the Z-axis. |
const double & OdBcf::OdBcfPoint::getX | ( | ) | const |
Retrieves the X-axis coordinate of the point.
const double & OdBcf::OdBcfPoint::getY | ( | ) | const |
Retrieves the Y-axis coordinate of the point.
const double & OdBcf::OdBcfPoint::getZ | ( | ) | const |
Retrieves the Z-axis coordinate of the point.
|
virtual |
Reads XML data into ODA data structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
bool OdBcf::OdBcfPoint::isXUnset | ( | ) | const |
Defines whether the X-axis coordinate value is not initialized.
bool OdBcf::OdBcfPoint::isYUnset | ( | ) | const |
Defines whether the Y-axis coordinate value is not initialized.
bool OdBcf::OdBcfPoint::isZUnset | ( | ) | const |
Defines whether the Z-axis coordinate value is not initialized.
OdBcf::OdBcfPoint::ODRX_DECLARE_MEMBERS | ( | OdBcfPoint | ) |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
|
virtual |
Checks whether instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
The X-axis coordinate of the point.
Definition at line 127 of file BcfPoint.h.
|
protected |
The Y-axis coordinate of the point.
Definition at line 129 of file BcfPoint.h.
|
protected |
The Z-axis coordinate of the point.
Definition at line 131 of file BcfPoint.h.