#include <point3d.h>

Public Member Functions | |
| Point3DBase () | |
| Point3DBase (T xin, T yin, T zin) | |
| Point3DBase (const Point3DBase< T > &pt) | |
| Point3DBase< T > | operator= (const Point3DBase< T > &pt) |
| Point3DBase< T > | operator-= (const Point3DBase< T > &pt) |
| Point3DBase< T > | operator+= (const Point3DBase< T > &pt) |
| Point3DBase< T > | operator *= (const int i) |
| Point3DBase< T > | operator *= (const double d) |
| Point3DBase< T > | operator *= (const Point3DBase< T > &pt) |
| Point3DBase< T > | operator/= (const int i) |
| Point3DBase< T > | operator/= (const double d) |
| Point3DBase< T > | operator/= (const Point3DBase< T > &pt) |
| double | Squared () |
| double | Length () |
| Point3DBase< T > | Abs () |
| int | IsZero () |
| void | Normalize () |
| Point3DBase< T > | Sign () |
| double | Dot (const Point3DBase< T > &pt) |
| Point3DBase< T > | Cross (const Point3DBase< T > &pt) |
| double | Determinant (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| double | SquaredDist (Point3DBase< T > &pt) |
| void | interp (Point3DBase< T > u, Point3DBase< T > v, double lambda) |
| double | Dist (Point3DBase< T > &pt) |
| double | Angle (Point3DBase< T > &pt) |
| void | ForceMin (double min) |
| void | ForceMax (double max) |
| void | Xform (double M[4][4]) |
| int | insideQuadrilateral (const Point3DBase< T > p0, const Point3DBase< T > p1, const Point3DBase< T > p2, const Point3DBase< T > p3) |
| int | insideTriangle (const Point3DBase< T > p0, const Point3DBase< T > p1, const Point3DBase< T > p2) |
Public Attributes | |
| T | x |
| T | y |
| T | z |
Friends | |
| Point3DBase< T > | operator+ (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| Point3DBase< T > | operator- (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| Point3DBase< T > | operator- (const Point3DBase< T > &pt) |
| Point3DBase< T > | operator * (const Point3DBase< T > &pt, const int i) |
| Point3DBase< T > | operator * (const int i, const Point3DBase< T > &pt) |
| Point3DBase< T > | operator * (const Point3DBase< T > &pt, const double d) |
| Point3DBase< T > | operator * (const double d, const Point3DBase< T > &pt) |
| Point3DBase< T > | operator * (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| Point3DBase< T > | operator/ (const Point3DBase< T > &pt, const int i) |
| Point3DBase< T > | operator/ (const Point3DBase< T > &pt, const double d) |
| Point3DBase< T > | operator/ (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| ostream & | operator<< (ostream &os, const Point3DBase< T > &pt) |
| istream & | operator>> (istream &is, Point3DBase< T > &pt) |
| int | operator== (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| int | operator!= (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| int | operator< (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
| int | operator> (const Point3DBase< T > &pt1, const Point3DBase< T > &pt2) |
Definition at line 14 of file point3d.h.
| Point3DBase< T >::Point3DBase | ( | ) | [inline] |
| Point3DBase< T >::Point3DBase | ( | T | xin, | |
| T | yin, | |||
| T | zin | |||
| ) | [inline] |
| Point3DBase< T >::Point3DBase | ( | const Point3DBase< T > & | pt | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator= | ( | const Point3DBase< T > & | pt | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator-= | ( | const Point3DBase< T > & | pt | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator+= | ( | const Point3DBase< T > & | pt | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator *= | ( | const int | i | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator *= | ( | const double | d | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator *= | ( | const Point3DBase< T > & | pt | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator/= | ( | const int | i | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator/= | ( | const double | d | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::operator/= | ( | const Point3DBase< T > & | pt | ) | [inline] |
| double Point3DBase< T >::Squared | ( | ) | [inline] |
| double Point3DBase< T >::Length | ( | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::Abs | ( | ) | [inline] |
| int Point3DBase< T >::IsZero | ( | ) | [inline] |
| void Point3DBase< T >::Normalize | ( | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::Sign | ( | ) | [inline] |
| double Point3DBase< T >::Dot | ( | const Point3DBase< T > & | pt | ) | [inline] |
| Point3DBase<T> Point3DBase< T >::Cross | ( | const Point3DBase< T > & | pt | ) | [inline] |
| double Point3DBase< T >::Determinant | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [inline] |
| double Point3DBase< T >::SquaredDist | ( | Point3DBase< T > & | pt | ) | [inline] |
| void Point3DBase< T >::interp | ( | Point3DBase< T > | u, | |
| Point3DBase< T > | v, | |||
| double | lambda | |||
| ) | [inline] |
| double Point3DBase< T >::Dist | ( | Point3DBase< T > & | pt | ) | [inline] |
| double Point3DBase< T >::Angle | ( | Point3DBase< T > & | pt | ) | [inline] |
| void Point3DBase< T >::ForceMin | ( | double | min | ) | [inline] |
| void Point3DBase< T >::ForceMax | ( | double | max | ) | [inline] |
| void Point3DBase< T >::Xform | ( | double | M[4][4] | ) | [inline] |
| int Point3DBase< T >::insideQuadrilateral | ( | const Point3DBase< T > | p0, | |
| const Point3DBase< T > | p1, | |||
| const Point3DBase< T > | p2, | |||
| const Point3DBase< T > | p3 | |||
| ) | [inline] |
| int Point3DBase< T >::insideTriangle | ( | const Point3DBase< T > | p0, | |
| const Point3DBase< T > | p1, | |||
| const Point3DBase< T > | p2 | |||
| ) | [inline] |
| Point3DBase<T> operator+ | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| Point3DBase<T> operator- | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| Point3DBase<T> operator- | ( | const Point3DBase< T > & | pt | ) | [friend] |
| Point3DBase<T> operator * | ( | const Point3DBase< T > & | pt, | |
| const int | i | |||
| ) | [friend] |
| Point3DBase<T> operator * | ( | const int | i, | |
| const Point3DBase< T > & | pt | |||
| ) | [friend] |
| Point3DBase<T> operator * | ( | const Point3DBase< T > & | pt, | |
| const double | d | |||
| ) | [friend] |
| Point3DBase<T> operator * | ( | const double | d, | |
| const Point3DBase< T > & | pt | |||
| ) | [friend] |
| Point3DBase<T> operator * | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| Point3DBase<T> operator/ | ( | const Point3DBase< T > & | pt, | |
| const int | i | |||
| ) | [friend] |
| Point3DBase<T> operator/ | ( | const Point3DBase< T > & | pt, | |
| const double | d | |||
| ) | [friend] |
| Point3DBase<T> operator/ | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| ostream& operator<< | ( | ostream & | os, | |
| const Point3DBase< T > & | pt | |||
| ) | [friend] |
| istream& operator>> | ( | istream & | is, | |
| Point3DBase< T > & | pt | |||
| ) | [friend] |
| int operator== | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| int operator!= | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| int operator< | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| int operator> | ( | const Point3DBase< T > & | pt1, | |
| const Point3DBase< T > & | pt2 | |||
| ) | [friend] |
| T Point3DBase< T >::x |
| T Point3DBase< T >::y |
| T Point3DBase< T >::z |
1.5.3