OpenLexocad
27.1
|
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>
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< Document > | getDocument () 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::DbgInfo > | getDbgInfo () 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 |
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)
OpenLxApp::Sphere::~Sphere | ( | void | ) |
Geom::Ax2 OpenLxApp::Sphere::getPosition | ( | ) | const |
double OpenLxApp::Sphere::getRadius | ( | ) | const |
void OpenLxApp::Sphere::setPosition | ( | const Geom::Ax2 & | aValue | ) |
void OpenLxApp::Sphere::setRadius | ( | const double & | aValue | ) |