#include <cassert>#include <boost/static_assert.hpp>Go to the source code of this file.
Namespaces | |
| namespace | geom |
Classes | |
| class | geom::PointNd< n > |
| class | geom::VecNd< n > |
Typedefs | |
| typedef PointNd< 2 > | geom::Point2d |
| Definition of Point2d. | |
| typedef VecNd< 2 > | geom::Vec2d |
| Definition of Vec2d. | |
| typedef PointNd< 3 > | geom::Point3d |
| Definition of Point3d. | |
| typedef VecNd< 3 > | geom::Vec3d |
| Definition of Vec3d. | |
| typedef PointNd< 4 > | geom::Point4d |
| Definition of Point4d. | |
| typedef VecNd< 4 > | geom::Vec4d |
| Definition of Vec4d. | |
Functions | |
| template<int n> | |
| PointNd< n > | geom::operator+ (const PointNd< n > &pt, const VecNd< n > &vec) |
| template<int n> | |
| PointNd< n > | geom::operator- (const PointNd< n > &pt, const VecNd< n > &vec) |
| template<int n> | |
| PointNd< n > | geom::operator+ (const PointNd< n > &pt, const PointNd< n > &pt1) |
| template<int n> | |
| PointNd< n > | geom::operator * (const PointNd< n > &pt, double scale) |
| template<int n> | |
| PointNd< n > | geom::operator/ (const PointNd< n > &pt, double scale) |
| template<int n> | |
| PointNd< n > | geom::operator * (double scale, const PointNd< n > &pt) |
| template<int n> | |
| VecNd< n > | geom::operator+ (const VecNd< n > &vec0, const VecNd< n > &vec) |
| template<int n> | |
| VecNd< n > | geom::operator- (const VecNd< n > &vec0, const VecNd< n > &vec) |
| template<int n> | |
| VecNd< n > | geom::operator * (const VecNd< n > &v, double scale) |
| template<int n> | |
| VecNd< n > | geom::operator * (double scale, const VecNd< n > &v) |
| template<int n> | |
| PointNd< n > | geom::operator- (const PointNd< n > &pt0, const PointNd< n > &pt1) |
| template<int n> | |
| PointNd< n > | geom::operator- (const PointNd< n > &pt) |
| template<int n> | |
| double | geom::operator * (const VecNd< n > &vec0, const VecNd< n > &vec1) |
| dot product of two vectors. | |
| template<int n> | |
| double | geom::operator * (const PointNd< n > &pt0, const PointNd< n > &pt1) |
| dot product of two points. | |
| template<int n> | |
| PointNd< n > | geom::linComb (double d0, const PointNd< n > &pt0, double d1, const PointNd< n > &pt1) |
| Linear combination of two points. | |
| template<int n> | |
| VecNd< n > | geom::linComb (double d0, const VecNd< n > &pt0, double d1, const VecNd< n > &pt1) |
| Linear combination of two vectors. | |
| template<int n> | |
| bool | geom::operator== (const PointNd< n > &pt0, const PointNd< n > &pt1) |
| Compare two points for equality. | |
| template<int n> | |
| bool | geom::operator!= (const PointNd< n > &pt0, const PointNd< n > &pt1) |
| Compare two points for inequality. | |
| template<int n> | |
| bool | geom::operator< (const PointNd< n > &pt0, const PointNd< n > &pt1) |
| template<int n> | |
| PointNd< n-1 > | geom::projectHomogeneous (const PointNd< n > &pt) |
| template<int n> | |
| PointNd< n+1 > | geom::makeHomogeneous (const PointNd< n > &pt, double weight=1.0) |
| PointNd< 3 > | geom::operator+ (const PointNd< 3 > &pt, const VecNd< 3 > &vec) |
| PointNd< 3 > | geom::operator+ (const PointNd< 3 > &pt, const PointNd< 3 > &pt1) |
| PointNd< 3 > | geom::operator- (const PointNd< 3 > &pt, const VecNd< 3 > &vec) |
| PointNd< 3 > | geom::operator * (const PointNd< 3 > &pt, double scale) |
| PointNd< 3 > | geom::operator/ (const PointNd< 3 > &pt, double scale) |
1.4.6