Geom Software - C++ Programming and Geometry Libraries
Fade3D Documentation pages v0.99
/home/geom/repo/dev/geomDev/dt3/dt3Library/Ball3.h
1
//
2
// C++ Interface: Ball
3
//
4
// Description:
5
//
6
//
7
// Author: Bernhard Kornberger <bkorn@geom.at>, (C) 2009
8
//
9
// Copyright: See COPYING file that comes with this distribution
10
//
11
//
12
#pragma once
13
#include "Point3.h"
14
15
16
namespace
FADE3D
{
17
20
class
CLASS_DECLSPEC
Ball3
21
{
22
public
:
28
Ball3
(
double
x,
double
y,
double
z,
double
sqRadius_);
29
~
Ball3
();
32
double
getRadius()
const
;
35
double
getSqRadius()
const
;
38
Point3
getCenter()
const
;
39
41
void
debug()
const
;
42
friend
std::ostream &operator<<(std::ostream &stream,
const
Ball3
& b);
43
44
protected
:
45
Point3
center;
46
double
sqRadius;
47
48
49
};
50
51
52
}
// NAMESPACE FADE3D
53
FADE3D
Definition:
Ball3.h:16
FADE3D::Point3
Vertex.
Definition:
Point3.h:32
FADE3D::Ball3
Sphere.
Definition:
Ball3.h:20
Ball3.h