OpenLexocad  27.1
OpenLxApp::Sphere Class Reference

The Sphere is a Construction Solid Geometry (CSG) 3D primitive. It is a solid where all points at the surface have the same distance from the center point. (Definition from ISO/CD 16739:2011) More...

#include <Sphere.h>

Inheritance diagram for OpenLxApp::Sphere:
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)
 
 ~Sphere (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

The Sphere is a Construction Solid Geometry (CSG) 3D primitive. It is a solid where all points at the surface have the same distance from the center point. (Definition from ISO/CD 16739:2011)

See also
Documentation from IFC4: IfcSphere

Constructor & Destructor Documentation

◆ ~Sphere()

OpenLxApp::Sphere::~Sphere ( void  )

Member Function Documentation

◆ getPosition()

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

◆ getRadius()

double OpenLxApp::Sphere::getRadius ( ) const

◆ setPosition()

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

◆ setRadius()

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

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