CFx SDK Documentation 2024 SP0
|
#include <IfcArr2d3d.h>
Public Member Functions | |
OdIfcArr2d3d () | |
operator double * () | |
operator const double * () const | |
void | clear () |
int | size () const |
bool | empty () const |
OdGePoint2d * | createPoint2d () |
OdGePoint3d * | createPoint3d () |
OdGeVector2d * | createVector2d () |
OdGeVector3d * | createVector3d () |
bool | initFromOdArray (const OdRxValue &val) |
Public Attributes | |
double | m_Coordinates [3] |
A class that stores an array of two- and three-dimensional geometric coordinates.
Definition at line 42 of file IfcArr2d3d.h.
OdIfc::OdIfcArr2d3d::OdIfcArr2d3d | ( | ) |
Creates a new array of coordinates with default values.
void OdIfc::OdIfcArr2d3d::clear | ( | ) |
Clears coordinates. After clearing, coordinate values become equal to an <link OdDAI::Consts::OdNan, OdNan> constant.
OdGePoint2d * OdIfc::OdIfcArr2d3d::createPoint2d | ( | ) |
Creates a new two-dimensional point object from the coordinate array.
OdGePoint3d * OdIfc::OdIfcArr2d3d::createPoint3d | ( | ) |
Creates a new three-dimensional point object from the coordinate array.
OdGeVector2d * OdIfc::OdIfcArr2d3d::createVector2d | ( | ) |
Creates a new two-dimensional vector object from the coordinate array.
OdGeVector3d * OdIfc::OdIfcArr2d3d::createVector3d | ( | ) |
Creates a new three-dimensional vector object from the coordinate array.
bool OdIfc::OdIfcArr2d3d::empty | ( | ) | const |
Retrieves whether the coordinate array is empty or not.
bool OdIfc::OdIfcArr2d3d::initFromOdArray | ( | const OdRxValue & | val | ) |
Initializes the coordinate array from an <exref target="https://docs.opendesign.com/tkernel/OdArray.html">OdArray</exref> object that is contained in an OdRxValue.
val | [in] An OdRxValue object that contains the array of doubles inside. |
|
inline |
An operator that returns a raw pointer to the const coordinates array.
Definition at line 63 of file IfcArr2d3d.h.
|
inline |
An operator that returns a raw pointer to the coordinates array.
Definition at line 58 of file IfcArr2d3d.h.
int OdIfc::OdIfcArr2d3d::size | ( | ) | const |
Retrieves the current size of the coordinate array.
double OdIfc::OdIfcArr2d3d::m_Coordinates[3] |
Definition at line 46 of file IfcArr2d3d.h.