CFx SDK Documentation 2024 SP0
|
#include <IfcBodyVariant.h>
Public Types | |
enum | Type { kEmpty , kFacetModelerBody , kMdBody , kAcisBody , kIfcBrep } |
Public Member Functions | |
OdIfcBodyVariant () | |
bool | isFacetModelerBody () const |
void | setFacetModelerBody (const FacetModeler::Body *pFacetModelerBody) |
const FacetModeler::Body * | facetModelerBody () const |
bool | isMdBody () const |
void | setMdBody (const OdMdBody *pMdBody) |
const OdMdBody * | mdBody () const |
bool | isAcisBody () const |
void | setAcisBody (const BODY *pAcisBody) |
const BODY * | acisBody () const |
bool | isIfcBrep () const |
void | setIfcBrep (const OdBrBrep &ifcBrBrep) |
OdBrBrep | ifcBrep () const |
Type | kind () const |
Defines an interface to get a body from a representation item of an OdIfcProduct.
Definition at line 50 of file IfcBodyVariant.h.
Enumerates referenced body types.
Enumerator | |
---|---|
kEmpty | No body is referenced. |
kFacetModelerBody | A reference to a FacetModeler body. |
kMdBody | A reference to an OdBrepModeler body. |
kAcisBody | A reference to a Spatial Acis body. |
kIfcBrep | A reference to an IfcBrepBuilder body. |
Definition at line 56 of file IfcBodyVariant.h.
OdIfc::OdIfcBodyVariant::OdIfcBodyVariant | ( | ) |
Creates a new instance of the OdIfcBodyVariant class that does not reference any body.
const BODY * OdIfc::OdIfcBodyVariant::acisBody | ( | ) | const |
Retrieves the current referenced Spatial Acis body.
const FacetModeler::Body * OdIfc::OdIfcBodyVariant::facetModelerBody | ( | ) | const |
Retrieves the referenced FacetModeler body.
OdBrBrep OdIfc::OdIfcBodyVariant::ifcBrep | ( | ) | const |
Retrieves the current referenced IfcBrepBuilder body.
|
inline |
Checks if the body is a Spatial Acis body.
Definition at line 115 of file IfcBodyVariant.h.
|
inline |
Checks if the body is a FacetModeler body.
Definition at line 79 of file IfcBodyVariant.h.
|
inline |
Checks if the body is an IfcBrepBuilder body.
Definition at line 133 of file IfcBodyVariant.h.
|
inline |
Checks if the body is an OdBrepModeler body.
Definition at line 97 of file IfcBodyVariant.h.
|
inline |
Retrieves the type of the referenced body.
Definition at line 151 of file IfcBodyVariant.h.
const OdMdBody * OdIfc::OdIfcBodyVariant::mdBody | ( | ) | const |
Retrieves the current referenced OdBrepModeler body.
void OdIfc::OdIfcBodyVariant::setAcisBody | ( | const BODY * | pAcisBody | ) |
Sets a new Spatial Acis body reference.
pAcisBody | [in] A Spatial Acis body object to be set. |
void OdIfc::OdIfcBodyVariant::setFacetModelerBody | ( | const FacetModeler::Body * | pFacetModelerBody | ) |
Sets a new FacetModeler body reference.
pFacetModelerBody | [in] A FacetModeler body object to be set. |
Sets a new IfcBrepBuilder body reference.
ifcBrBrep | [in] A nw IfcBrepBuilder body object to be set. |
void OdIfc::OdIfcBodyVariant::setMdBody | ( | const OdMdBody * | pMdBody | ) |
Sets a new OdBrepModeler body reference.
pMdBody | [in] A new OdBrepModeler body object to be set. |
const BODY* OdIfc::OdIfcBodyVariant::pAcisBody |
Definition at line 159 of file IfcBodyVariant.h.
const FacetModeler::Body* OdIfc::OdIfcBodyVariant::pFmBody |
Definition at line 157 of file IfcBodyVariant.h.
const OdMdBody* OdIfc::OdIfcBodyVariant::pMdBody |
Definition at line 158 of file IfcBodyVariant.h.