OpenLexocad  27.1
OpenLxApp::Block Class Reference

A box is a solid rectangular parallelepiped, defined with a location and placement coordinate system. The box is specified by the positive lengths x, y, and z along the axes of the placement coordinate system, and has one vertex at the origin of the placement coordinate system. (Definition from ISO/CD 16739:2011) More...

#include <Block.h>

Inheritance diagram for OpenLxApp::Block:
OpenLxApp::Geometry OpenLxApp::DocObject

Public Member Functions

double getXLength () const
 
void setXLength (const double &aValue)
 
double getYLength () const
 
void setYLength (const double &aValue)
 
double getZLength () const
 
void setZLength (const double &aValue)
 
Geom::Ax2 getPosition () const
 
void setPosition (const Geom::Ax2 &aValue)
 
double getLength () const
 
void setLength (const double &aValue)
 
double getWidth () const
 
void setWidth (const double &aValue)
 
double getHeight () const
 
void setHeight (const double &aValue)
 
 ~Block ()
 
- Public Member Functions inherited from OpenLxApp::Geometry
virtual ~Geometry (void)
 
pShape computeShape (bool checkShape=false)
 
pConstShape getShape (void) const
 
double getPrecision () const
 
void setPrecision (double p)
 
Geom::Bnd_Box getBoundingBox () const
 
- Public Member Functions inherited from OpenLxApp::DocObject
std::shared_ptr< DocumentgetDocument () const
 
bool isNew () const
 
bool isUpdated () const
 
bool isValid () const
 
bool hasErrors () const
 
void touch ()
 
LxIfc4::LxIfc4EntityEnum getEntityType () const
 
std::string getEntityTypeAsString () const
 
std::shared_ptr< Core::DbgInfogetDbgInfo () const
 
 DocObject (Core::DocObject *aObject)
 
virtual ~DocObject (void)
 
Core::DocObject__getObj__ () const
 

Additional Inherited Members

- Protected Member Functions inherited from OpenLxApp::Geometry
 Geometry ()=default
 
- Protected Member Functions inherited from OpenLxApp::DocObject
 DocObject ()
 
- Protected Attributes inherited from OpenLxApp::DocObject
Core::DocObject_coreObj = nullptr
 

Detailed Description

A box is a solid rectangular parallelepiped, defined with a location and placement coordinate system. The box is specified by the positive lengths x, y, and z along the axes of the placement coordinate system, and has one vertex at the origin of the placement coordinate system. (Definition from ISO/CD 16739:2011)

See also
Documentation from IFC4: IfcBlock

Constructor & Destructor Documentation

◆ ~Block()

OpenLxApp::Block::~Block ( )

Member Function Documentation

◆ getHeight()

double OpenLxApp::Block::getHeight ( ) const

◆ getLength()

double OpenLxApp::Block::getLength ( ) const

◆ getPosition()

Geom::Ax2 OpenLxApp::Block::getPosition ( ) const

◆ getWidth()

double OpenLxApp::Block::getWidth ( ) const

◆ getXLength()

double OpenLxApp::Block::getXLength ( ) const

◆ getYLength()

double OpenLxApp::Block::getYLength ( ) const

◆ getZLength()

double OpenLxApp::Block::getZLength ( ) const

◆ setHeight()

void OpenLxApp::Block::setHeight ( const double &  aValue)

◆ setLength()

void OpenLxApp::Block::setLength ( const double &  aValue)

◆ setPosition()

void OpenLxApp::Block::setPosition ( const Geom::Ax2 aValue)

◆ setWidth()

void OpenLxApp::Block::setWidth ( const double &  aValue)

◆ setXLength()

void OpenLxApp::Block::setXLength ( const double &  aValue)

◆ setYLength()

void OpenLxApp::Block::setYLength ( const double &  aValue)

◆ setZLength()

void OpenLxApp::Block::setZLength ( const double &  aValue)

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