OpenLexocad  27.1
Geom::Sphr Class Reference

Defines a non-persistent Sphere in 3D space.
More...

#include <Sphr.h>

Public Member Functions

 Sphr (void)
 
 Sphr (const Geom::Pnt &center, const double &radius)
 
void setValue (const Geom::Pnt &center, const double &radius)
 
void setCenter (const Geom::Pnt &center)
 
void setRadius (const double &radius)
 
const Geom::PntgetCenter (void) const
 
const double & getRadius (void) const
 
bool pointInside (const Geom::Pnt &p) const
 

Detailed Description

Defines a non-persistent Sphere in 3D space.

Constructor & Destructor Documentation

◆ Sphr() [1/2]

Geom::Sphr::Sphr ( void  )

◆ Sphr() [2/2]

Geom::Sphr::Sphr ( const Geom::Pnt center,
const double &  radius 
)

Member Function Documentation

◆ getCenter()

const Geom::Pnt& Geom::Sphr::getCenter ( void  ) const

◆ getRadius()

const double& Geom::Sphr::getRadius ( void  ) const

◆ pointInside()

bool Geom::Sphr::pointInside ( const Geom::Pnt p) const

◆ setCenter()

void Geom::Sphr::setCenter ( const Geom::Pnt center)

◆ setRadius()

void Geom::Sphr::setRadius ( const double &  radius)

◆ setValue()

void Geom::Sphr::setValue ( const Geom::Pnt center,
const double &  radius 
)

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