|
| template<typename T , uint32_t Count> |
| void | negate (Coords< T, Count > &point) |
| | Negates every value of a point's data.
|
| |
| template<typename T , uint32_t Count> |
| void | normalise (Coords< T, Count > &point) |
| | Normalises the point.
|
| |
| template<typename T , uint32_t Count> |
| T | dot (Coords< T, Count > const &lhs, Coords< T, Count > const &rhs) |
| | Computes the scalar product of 2 points.
|
| |
| template<typename T , typename U > |
| Point< T, 3 > | cross (Coords< T, 3 > const &lhs, Coords< U, 3 > const &rhs) |
| | Cross product operator.
|
| |
| template<typename T , uint32_t Count> |
| double | cosTheta (Coords< T, Count > const &lhs, Coords< T, Count > const &rhs) |
| | Computes the trigonometric cosine of the angle between 2 points.
|
| |
| template<typename T , uint32_t Count> |
| double | lengthSquared (Coords< T, Count > const &point) |
| | Computes the squared Euclidian length of the vector.
|
| |
| template<typename T , uint32_t Count> |
| double | length (Coords< T, Count > const &point) |
| | Computes the Euclidian length of the vector.
|
| |
| template<typename T , uint32_t Count> |
| double | lengthManhattan (Coords< T, Count > const &point) |
| | Computes the Manhattan length of the vector.
|
| |
| template<typename T , uint32_t Count> |
| double | lengthMinkowski (Coords< T, Count > const &point, double order) |
| | Computes the Minkowski length of the vector.
|
| |
| template<typename T , uint32_t Count> |
| double | lengthChebychev (Coords< T, Count > const &point) |
| | Computes the Chebychev length of the vector.
|
| |
| template<typename T , uint32_t Count> |
| double | distanceSquared (Coords< T, Count > const &lhs, Coords< T, Count > const &rhs) |
| | Computes the squared Euclidian distance between two points.
|
| |
| template<typename T , uint32_t Count> |
| double | distance (Coords< T, Count > const &lhs, Coords< T, Count > const &rhs) |
| | Computes the Euclidian distance between two points.
|
| |
| template<typename T , uint32_t Count> |
| double | distanceManhattan (Coords< T, Count > const &lhs, Coords< T, Count > const &rhs) |
| | Computes the Manhattan distance between two points.
|
| |
| template<typename T , uint32_t Count> |
| double | distanceMinkowski (Coords< T, Count > const &lhs, Coords< T, Count > const &rhs, double order) |
| | Computes the Minkowski distance between two points.
|
| |
| template<typename T , uint32_t Count> |
| double | distanceChebychev (Coords< T, Count > const &lhs, Coords< T, Count > const &rhs) |
| | Computes the Chebychev distance between two points.
|
| |
| template<typename CoordT , uint32_t CountT> |
| Point< CoordT, CountT > const & | getPoint (Point< CoordT, CountT > const &lhs) |
| |
| template<typename CoordT , uint32_t CountT> |
| Point< CoordT, CountT > const & | getPoint (LengthT< Point< CoordT, CountT > > const &lhs) |
| |
| template<typename CoordT , typename CoordU , uint32_t CountT> |
| void | setPoint (Point< CoordT, CountT > &lhs, Point< CoordU, CountT > const &rhs) |
| |
| template<typename CoordT , typename CoordU , uint32_t CountT> |
| void | setPoint (LengthT< Point< CoordT, CountT > > &lhs, Point< CoordU, CountT > const &rhs) |
| |
| template<typename CoordT , uint32_t CountT> |
| void | setCoord (Point< CoordT, CountT > &pt, uint32_t i, CoordT const &c) |
| |
| template<typename CoordT , uint32_t CountT> |
| void | setCoord (Coords< CoordT, CountT > &pt, uint32_t i, CoordT const &c) |
| |
| template<typename CoordT , uint32_t CountT> |
| void | setCoord (LengthT< Point< CoordT, CountT > > &pt, uint32_t i, CoordT const &c) |
| |
| template<typename CoordT , uint32_t CountT> |
| CoordT const & | getCoord (Point< CoordT, CountT > const &pt, uint32_t i) |
| |
| template<typename CoordT , uint32_t CountT> |
| CoordT const & | getCoord (Coords< CoordT, CountT > const &pt, uint32_t i) |
| |
| template<typename CoordT , uint32_t CountT> |
| CoordT const & | getCoord (LengthT< Point< CoordT, CountT > > const &pt, uint32_t i) |
| |
| template<typename T , uint32_t TCount> |
| static void | floor (Point< T, TCount > &point) |
| | Floors every value of a point's data.
|
| |
| template<typename T , uint32_t TCount> |
| static Point< T, TCount > | getFloored (Point< T, TCount > const &point) |
| | Floors every value of a point's data.
|
| |
| template<typename T , uint32_t TCount> |
| static void | ceil (Point< T, TCount > &point) |
| | Ceils every value of a point's data.
|
| |
| template<typename T , uint32_t TCount> |
| static Point< T, TCount > | getCeiled (Point< T, TCount > const &point) |
| | Ceils every value of a point's data.
|
| |
| template<typename T , uint32_t TCount> |
| static void | round (Point< T, TCount > &point) |
| | Rounds every value of a point's data.
|
| |
| template<typename T , uint32_t TCount> |
| static Point< T, TCount > | getRounded (Point< T, TCount > const &point) |
| | Rounds every value of a point's data.
|
| |
| template<typename T , uint32_t TCount> |
| static void | negate (Point< T, TCount > &point) |
| | Negates every value of a point's data.
|
| |
| template<typename T , uint32_t TCount> |
| static void | normalise (Point< T, TCount > &point) |
| | Normalises the point.
|
| |
| template<typename T , uint32_t TCount> |
| static Point< T, TCount > | getNormalised (Point< T, TCount > const &point) |
| | Returns the normalised form of a point.
|
| |
| template<typename T , typename U , uint32_t TCount> |
| static T | dot (Point< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the dot product of 2 points.
|
| |
| template<Vector3T LhsT, Vector3T RhsT> |
| static LhsT | cross (LhsT const &lhs, RhsT const &rhs) |
| | Computes the cross product of 2 points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | cosTheta (Point< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the trigonometric cosine of the angle between 2 points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | lengthSquared (Point< T, TCount > const &point) |
| | Computes the squared Euclidian length of the vector.
|
| |
| template<typename T , uint32_t TCount> |
| static double | length (Point< T, TCount > const &point) |
| | Computes the Euclidian length of the vector.
|
| |
| template<typename T , uint32_t TCount> |
| static double | lengthManhattan (Point< T, TCount > const &point) |
| | Computes the Manhattan length of the vector.
|
| |
| template<typename T , uint32_t TCount> |
| static double | lengthMinkowski (Point< T, TCount > const &point, double order) |
| | Computes the Minkowski length of the vector.
|
| |
| template<typename T , uint32_t TCount> |
| static double | lengthChebychev (Point< T, TCount > const &point) |
| | Computes the Chebychev length of the vector.
|
| |
| template<typename T , uint32_t TCount> |
| static double | distanceSquared (Point< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the squared Euclidian distance between two points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | distance (Point< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the Euclidian distance between two points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | distanceManhattan (Point< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the Manhattan distance between two points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | distanceMinkowski (Point< T, TCount > const &lhs, Point< T, TCount > const &rhs, double order) |
| | Computes the Minkowski distance between two points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | distanceChebychev (Point< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the Chebychev distance between two points.
|
| |
| template<typename T , typename U , uint32_t TCount> |
| static T | dot (Coords< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the dot product of 2 points.
|
| |
| template<typename T , typename U > |
| static Point3< T > | cross (Coords3< T > const &lhs, Point3< T > const &rhs) |
| | Computes the cross product of 2 points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | cosTheta (Coords< T, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the trigonometric cosine of the angle between 2 points.
|
| |
| template<typename T , typename U , uint32_t TCount> |
| static T | dot (Point< T, TCount > const &lhs, Coords< T, TCount > const &rhs) |
| | Computes the scalar product of 2 points.
|
| |
| template<typename T , typename U > |
| static Point3< T > | cross (Point3< T > const &lhs, Coords3< T > const &rhs) |
| | Computes the cross product of 2 points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | cosTheta (Point< T, TCount > const &lhs, Coords< T, TCount > const &rhs) |
| | Computes the trigonometric cosine of the angle between 2 points.
|
| |
| template<typename T , typename U , uint32_t TCount> |
| static T | dot (Coords< T const, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the scalar product of 2 points.
|
| |
| template<typename T , typename U > |
| static Point3< T > | cross (Coords< T const, 3 > const &lhs, Point3< T > const &rhs) |
| | Computes the cross product of 2 points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | cosTheta (Coords< T const, TCount > const &lhs, Point< T, TCount > const &rhs) |
| | Computes the trigonometric cosine of the angle between 2 points.
|
| |
| template<typename T , typename U , uint32_t TCount> |
| static T | dot (Point< T, TCount > const &lhs, Coords< T const, TCount > const &rhs) |
| | Computes the scalar product of 2 points.
|
| |
| template<typename T , typename U > |
| static Point3< T > | cross (Point3< T > const &lhs, Coords< T const, 3 > const &rhs) |
| | Computes the cross product of 2 points.
|
| |
| template<typename T , uint32_t TCount> |
| static double | cosTheta (Point< T, TCount > const &lhs, Coords< T const, TCount > const &rhs) |
| | Computes the trigonometric cosine of the angle between 2 points.
|
| |