OpenLexocad  27.1
Base::Sphere Class Reference

#include <Sphere.h>

Public Member Functions

 Sphere (void)
 
 Sphere (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
 

Constructor & Destructor Documentation

◆ Sphere() [1/2]

Base::Sphere::Sphere ( void  )

◆ Sphere() [2/2]

Base::Sphere::Sphere ( const Geom::Pnt center,
const double &  radius 
)

Member Function Documentation

◆ getCenter()

const Geom::Pnt& Base::Sphere::getCenter ( void  ) const

◆ getRadius()

const double& Base::Sphere::getRadius ( void  ) const

◆ pointInside()

bool Base::Sphere::pointInside ( const Geom::Pnt p) const

◆ setCenter()

void Base::Sphere::setCenter ( const Geom::Pnt center)

◆ setRadius()

void Base::Sphere::setRadius ( const double &  radius)

◆ setValue()

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

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