#include <Point.h>
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) |
| ostream & operator<< | ( | ostream & | out, | |
| Point3DNC< ptype > const & | p | |||
| ) | [related] |
outputs the coordinates to an ostream
1.5.1-p1