OpenLexocad  27.1
OpenLxApp::RightCircularCylinder Class Reference

A right circular cylinder is a CSG primitive in the form of a solid cylinder of finite height. It is defined by an axis point at the centre of one planar circular face, an axis, height, and a radius. The faces are perpendicular to the axis and are circular discs with the specified radius. The height is the distance from the first circular face centre in the positive direction of the axis to the second circular face centre. (Definition from ISO/CD 16739:2011) More...

#include <RightCircularCylinder.h>

Inheritance diagram for OpenLxApp::RightCircularCylinder:
OpenLxApp::Geometry OpenLxApp::DocObject

Public Member Functions

Geom::Ax2 getPosition () const
 
void setPosition (const Geom::Ax2 &aValue)
 
double getRadius () const
 
void setRadius (const double &aValue)
 
double getHeight () const
 
void setHeight (const double &aValue)
 
 ~RightCircularCylinder (void)
 
- 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 right circular cylinder is a CSG primitive in the form of a solid cylinder of finite height. It is defined by an axis point at the centre of one planar circular face, an axis, height, and a radius. The faces are perpendicular to the axis and are circular discs with the specified radius. The height is the distance from the first circular face centre in the positive direction of the axis to the second circular face centre. (Definition from ISO/CD 16739:2011)

See also
Documentation from IFC4: IfcRightCircularCylinder

Constructor & Destructor Documentation

◆ ~RightCircularCylinder()

OpenLxApp::RightCircularCylinder::~RightCircularCylinder ( void  )

Member Function Documentation

◆ getHeight()

double OpenLxApp::RightCircularCylinder::getHeight ( ) const

◆ getPosition()

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

◆ getRadius()

double OpenLxApp::RightCircularCylinder::getRadius ( ) const

◆ setHeight()

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

◆ setPosition()

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

◆ setRadius()

void OpenLxApp::RightCircularCylinder::setRadius ( const double &  aValue)

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