Point3D Class Reference

3D Point class. More...

#include <point3d.hxx>

List of all members.

Public Member Functions

 Point3D ()
 Default constructor.
 Point3D (const double x, const double y, const double z)
 Point3D (const double d)
 Point3D (const Point3D &p)
Point3Doperator= (const Point3D &p)
Point3Doperator+= (const Point3D &p)
Point3Doperator-= (const Point3D &p)
Point3Doperator *= (const double d)
Point3Doperator/= (const double d)
void setx (const double x)
void sety (const double y)
void setz (const double z)
void setlon (const double x)
void setlat (const double y)
void setradius (const double z)
void setelev (const double z)
double & operator[] (int i)
double operator[] (int i) const
const double * get_n () const
double x () const
double y () const
double z () const
double lon () const
double lat () const
double radius () const
double elev () const
SGGeod toSGGeod (void) const
SGGeoc toSGGeoc (void) const
double distance3D (const Point3D &a) const
double distance3Dsquared (const Point3D &a) const

Static Public Member Functions

static Point3D fromSGGeod (const SGGeod &geod)
static Point3D fromSGGeoc (const SGGeoc &geoc)
static Point3D fromSGVec3 (const SGVec3< double > &cart)

Protected Attributes

double n [3]


Detailed Description

3D Point class.

Definition at line 83 of file point3d.hxx.


The documentation for this class was generated from the following file:
Generated on Mon Dec 17 09:30:57 2007 for SimGear by  doxygen 1.5.1