Geom Software - C++ Programming and Geometry Libraries
Fade3D Documentation pages v0.98
FADE3D::Ball3 Class Reference


#include <Ball3.h>

Public Member Functions

 Ball3 (double x, double y, double z, double sqRadius_)
double getRadius () const
double getSqRadius () const
Point3 getCenter () const

Protected Attributes

Point3 center
double sqRadius


std::ostream & operator<< (std::ostream &stream, const Ball3 &b)

Constructor & Destructor Documentation

◆ Ball3()

FADE3D::Ball3::Ball3 ( double  x,
double  y,
double  z,
double  sqRadius_ 
x,y,zcoordinates of the center
sqRadius_is the squared radius

Member Function Documentation

◆ getCenter()

Point3 FADE3D::Ball3::getCenter ( ) const

Get the center

◆ getRadius()

double FADE3D::Ball3::getRadius ( ) const

Get the radius

◆ getSqRadius()

double FADE3D::Ball3::getSqRadius ( ) const

Get the squared radius

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