Point3D Class Template Reference

#include <Point.h>

List of all members.


Detailed Description

template<class ptype>
class ame::Point3D< ptype >

Basic functionality of a 3D point

This class implements the basic functionality of a 3D point. A few simple operations and operators are implemented.


Public Member Functions

 Point3D ()
 doesn't initialize the coordinates
 Point3D (Point3DNC< ptype > const &p)
 copy constructor
 Point3D (ptype x, ptype y, ptype z)
 initializes the coordinates to the specified values
 Point3D (ptype c[])
 initializes the coordinates to the specified values

Static Public Member Functions

static bool lessnorm (const Point3DNC< ptype > &p1, const Point3DNC< ptype > &p2)
static Point3DNC< ptype > Distribution (vector< Point3D< ptype > > &points, Point3D< ptype > *sd, float percentage=1.0)

Static Public Attributes

static const Point3D< ptype > zero
 assignment operator
static const Point3D< ptype > one
static const Point3D< ptype > nan
static const Point3D< ptype > axis [3]

Friends

class boost::serialization::access

Related Functions

(Note that these are not member functions.)

point operator * (Rotation const &R, point const &p)
ostream & operator<< (ostream &out, Point3DNC< ptype > const &p)


Friends And Related Function Documentation

point operator * ( Rotation const &  R,
point const &  p 
) [related]

Returns the rotated point.

ostream & operator<< ( ostream &  out,
Point3DNC< ptype > const &  p 
) [related]

outputs the coordinates to an ostream


The documentation for this class was generated from the following files:
Generated on Tue Mar 6 17:57:20 2007 for AME Repository by  doxygen 1.5.1-p1