CFx SDK Documentation 2024 SP0
|
#include <BcfLine.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfLine) | |
virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
virtual bool | validate () const ODRX_OVERRIDE |
const OdBcfPointPtr & | getStartPoint () const |
bool | isStartPointUnset () const |
const OdBcfPointPtr & | getEndPoint () const |
bool | isEndPointUnset () 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< OdBcfLine > | createObject (const OdBcfPointPtr &pStartPoint, const OdBcfPointPtr &pEndPoint) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes | |
OdBcfPointPtr | m_pStartPoint |
OdBcfPointPtr | m_pEndPoint |
A class that stores and operates a markup line data within the BCF format.
|
static |
Creates a new markup line object.
pStartPoint | [in] A pointer to start point of the markup line. |
pEndPoint | [in] A pointer to end point of the markup line. |
const OdBcfPointPtr & OdBcf::OdBcfLine::getEndPoint | ( | ) | const |
Retrieves the endpoint of the line.
const OdBcfPointPtr & OdBcf::OdBcfLine::getStartPoint | ( | ) | const |
Retrieves the start point of the line.
|
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::OdBcfLine::isEndPointUnset | ( | ) | const |
Defines whether the object that represents the line end point is not initialized.
bool OdBcf::OdBcfLine::isStartPointUnset | ( | ) | const |
Defines whether the object that represents the line start point is not initialized.
OdBcf::OdBcfLine::ODRX_DECLARE_MEMBERS | ( | OdBcfLine | ) |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
|
virtual |
Checks whether the line instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
|
protected |