Public Member Functions | Public Attributes

Sphere Class Reference

Represents a point in spherical coordinates The angle phi lies in the horizontal plane, theta in the vertical plane. More...

List of all members.

Public Member Functions

 Sphere (float r=0, float t=0, float p=0)
 Sphere (const Coord3 &crd)
bool operator== (const Sphere &s) const

Public Attributes

float radius
float theta
float phi

Detailed Description

Represents a point in spherical coordinates The angle phi lies in the horizontal plane, theta in the vertical plane.


Constructor & Destructor Documentation

Sphere::Sphere ( float  r = 0,
float  t = 0,
float  p = 0 
) [inline]
Sphere::Sphere ( const Coord3 crd  )  [inline]

Member Function Documentation

bool Sphere::operator== ( const Sphere s  )  const [inline]

Member Data Documentation

float Sphere::phi