Castor3D 0.16.0
Multiplatform 3D engine
Functions
castor::point Namespace Reference

Point helper functions. More...

Functions

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>
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.
 

Detailed Description

Point helper functions.

Author
Sylvain DOREMUS
Date
10/07/2012
Version
0.7.0

Function Documentation

◆ ceil()

template<typename T , uint32_t TCount>
static void castor::point::ceil ( Point< T, TCount > & point)
static

Ceils every value of a point's data.

Parameters
[in]pointThe point.

◆ cosTheta() [1/6]

template<typename T , uint32_t TCount>
static double castor::point::cosTheta ( Coords< T const, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the trigonometric cosine of the angle between 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The cosine

◆ cosTheta() [2/6]

template<typename T , uint32_t Count>
double castor::point::cosTheta ( Coords< T, Count > const & lhs,
Coords< T, Count > const & rhs )
inline

Computes the trigonometric cosine of the angle between 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The cosine

◆ cosTheta() [3/6]

template<typename T , uint32_t TCount>
static double castor::point::cosTheta ( Coords< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the trigonometric cosine of the angle between 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The cosine

◆ cosTheta() [4/6]

template<typename T , uint32_t TCount>
static double castor::point::cosTheta ( Point< T, TCount > const & lhs,
Coords< T const, TCount > const & rhs )
static

Computes the trigonometric cosine of the angle between 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The cosine

◆ cosTheta() [5/6]

template<typename T , uint32_t TCount>
static double castor::point::cosTheta ( Point< T, TCount > const & lhs,
Coords< T, TCount > const & rhs )
static

Computes the trigonometric cosine of the angle between 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The cosine

◆ cosTheta() [6/6]

template<typename T , uint32_t TCount>
static double castor::point::cosTheta ( Point< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the trigonometric cosine of the angle between 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The cosine

◆ cross() [1/6]

template<typename T , typename U >
static Point3< T > castor::point::cross ( Coords3< T > const & lhs,
Point3< T > const & rhs )
static

Computes the cross product of 2 points.

Parameters
[in]lhs,rhsThe points.
Returns
The resulting vector.

◆ cross() [2/6]

template<typename T , typename U >
static Point3< T > castor::point::cross ( Coords< T const, 3 > const & lhs,
Point3< T > const & rhs )
static

Computes the cross product of 2 points.

Parameters
[in]lhs,rhsThe points.
Returns
The resulting vector.

◆ cross() [3/6]

template<typename T , typename U >
Point< T, 3 > castor::point::cross ( Coords< T, 3 > const & lhs,
Coords< U, 3 > const & rhs )
inline

Cross product operator.

Parameters
[in]lhs,rhsThe points to multiply
Returns
The cross product

◆ cross() [4/6]

template<Vector3T LhsT, Vector3T RhsT>
static LhsT castor::point::cross ( LhsT const & lhs,
RhsT const & rhs )
static

Computes the cross product of 2 points.

Parameters
[in]lhs,rhsThe points.
Returns
The resulting vector.

◆ cross() [5/6]

template<typename T , typename U >
static Point3< T > castor::point::cross ( Point3< T > const & lhs,
Coords3< T > const & rhs )
static

Computes the cross product of 2 points.

Parameters
[in]lhs,rhsThe points.
Returns
The resulting vector.

◆ cross() [6/6]

template<typename T , typename U >
static Point3< T > castor::point::cross ( Point3< T > const & lhs,
Coords< T const, 3 > const & rhs )
static

Computes the cross product of 2 points.

Parameters
[in]lhs,rhsThe points.
Returns
The resulting vector.

◆ distance() [1/2]

template<typename T , uint32_t Count>
double castor::point::distance ( Coords< T, Count > const & lhs,
Coords< T, Count > const & rhs )
inline

Computes the Euclidian distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The Euclidian distance.

◆ distance() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::distance ( Point< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the Euclidian distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The Euclidian distance.

◆ distanceChebychev() [1/2]

template<typename T , uint32_t Count>
double castor::point::distanceChebychev ( Coords< T, Count > const & lhs,
Coords< T, Count > const & rhs )
inline

Computes the Chebychev distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The Chebychev distance.

◆ distanceChebychev() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::distanceChebychev ( Point< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the Chebychev distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The Chebychev distance.

◆ distanceManhattan() [1/2]

template<typename T , uint32_t Count>
double castor::point::distanceManhattan ( Coords< T, Count > const & lhs,
Coords< T, Count > const & rhs )
inline

Computes the Manhattan distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The Manhattan distance.

◆ distanceManhattan() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::distanceManhattan ( Point< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the Manhattan distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The Manhattan distance.

◆ distanceMinkowski() [1/2]

template<typename T , uint32_t Count>
double castor::point::distanceMinkowski ( Coords< T, Count > const & lhs,
Coords< T, Count > const & rhs,
double order )
inline

Computes the Minkowski distance between two points.

Parameters
[in]lhs,rhsThe points.
[in]orderThe Minkowski order.
Returns
The Minkowski distance.

◆ distanceMinkowski() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::distanceMinkowski ( Point< T, TCount > const & lhs,
Point< T, TCount > const & rhs,
double order )
static

Computes the Minkowski distance between two points.

Parameters
[in]lhs,rhsThe points.
[in]orderThe Minkowski order.
Returns
The Minkowski distance.

◆ distanceSquared() [1/2]

template<typename T , uint32_t Count>
double castor::point::distanceSquared ( Coords< T, Count > const & lhs,
Coords< T, Count > const & rhs )
inline

Computes the squared Euclidian distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The squared Euclidian distance.

◆ distanceSquared() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::distanceSquared ( Point< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the squared Euclidian distance between two points.

Parameters
[in]lhs,rhsThe points.
Returns
The squared Euclidian distance.

◆ dot() [1/6]

template<typename T , typename U , uint32_t TCount>
static T castor::point::dot ( Coords< T const, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the scalar product of 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The scalar product

◆ dot() [2/6]

template<typename T , uint32_t Count>
T castor::point::dot ( Coords< T, Count > const & lhs,
Coords< T, Count > const & rhs )
inline

Computes the scalar product of 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The scalar product

◆ dot() [3/6]

template<typename T , typename U , uint32_t TCount>
static T castor::point::dot ( Coords< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the dot product of 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The scalar product

◆ dot() [4/6]

template<typename T , typename U , uint32_t TCount>
static T castor::point::dot ( Point< T, TCount > const & lhs,
Coords< T const, TCount > const & rhs )
static

Computes the scalar product of 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The scalar product

◆ dot() [5/6]

template<typename T , typename U , uint32_t TCount>
static T castor::point::dot ( Point< T, TCount > const & lhs,
Coords< T, TCount > const & rhs )
static

Computes the scalar product of 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The scalar product

◆ dot() [6/6]

template<typename T , typename U , uint32_t TCount>
static T castor::point::dot ( Point< T, TCount > const & lhs,
Point< T, TCount > const & rhs )
static

Computes the dot product of 2 points.

Parameters
[in]lhs,rhsThe points
Returns
The scalar product

◆ floor()

template<typename T , uint32_t TCount>
static void castor::point::floor ( Point< T, TCount > & point)
static

Floors every value of a point's data.

Parameters
[in]pointThe point.

◆ getCeiled()

template<typename T , uint32_t TCount>
static Point< T, TCount > castor::point::getCeiled ( Point< T, TCount > const & point)
static

Ceils every value of a point's data.

Parameters
[in]pointThe point.
Returns
The rounded point.

◆ getCoord() [1/3]

template<typename CoordT , uint32_t CountT>
CoordT const & castor::point::getCoord ( Coords< CoordT, CountT > const & pt,
uint32_t i )

◆ getCoord() [2/3]

template<typename CoordT , uint32_t CountT>
CoordT const & castor::point::getCoord ( LengthT< Point< CoordT, CountT > > const & pt,
uint32_t i )

◆ getCoord() [3/3]

template<typename CoordT , uint32_t CountT>
CoordT const & castor::point::getCoord ( Point< CoordT, CountT > const & pt,
uint32_t i )

◆ getFloored()

template<typename T , uint32_t TCount>
static Point< T, TCount > castor::point::getFloored ( Point< T, TCount > const & point)
static

Floors every value of a point's data.

Parameters
[in]pointThe point.
Returns
The rounded point.

◆ getNormalised()

template<typename T , uint32_t TCount>
static Point< T, TCount > castor::point::getNormalised ( Point< T, TCount > const & point)
static

Returns the normalised form of a point.

Parameters
[in]pointThe point

◆ getPoint() [1/2]

template<typename CoordT , uint32_t CountT>
Point< CoordT, CountT > const & castor::point::getPoint ( LengthT< Point< CoordT, CountT > > const & lhs)

◆ getPoint() [2/2]

template<typename CoordT , uint32_t CountT>
Point< CoordT, CountT > const & castor::point::getPoint ( Point< CoordT, CountT > const & lhs)

◆ getRounded()

template<typename T , uint32_t TCount>
static Point< T, TCount > castor::point::getRounded ( Point< T, TCount > const & point)
static

Rounds every value of a point's data.

Parameters
[in]pointThe point.
Returns
The rounded point.

◆ length() [1/2]

template<typename T , uint32_t Count>
double castor::point::length ( Coords< T, Count > const & point)
inline

Computes the Euclidian length of the vector.

Parameters
[in]pointThe point
Returns
The Euclidian distance

◆ length() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::length ( Point< T, TCount > const & point)
static

Computes the Euclidian length of the vector.

Parameters
[in]pointThe point
Returns
The Euclidian distance

◆ lengthChebychev() [1/2]

template<typename T , uint32_t Count>
double castor::point::lengthChebychev ( Coords< T, Count > const & point)
inline

Computes the Chebychev length of the vector.

Parameters
[in]pointThe point
Returns
The Chebychev distance

◆ lengthChebychev() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::lengthChebychev ( Point< T, TCount > const & point)
static

Computes the Chebychev length of the vector.

Parameters
[in]pointThe point
Returns
The Chebychev distance

◆ lengthManhattan() [1/2]

template<typename T , uint32_t Count>
double castor::point::lengthManhattan ( Coords< T, Count > const & point)
inline

Computes the Manhattan length of the vector.

Parameters
[in]pointThe point
Returns
The Manhattan distance

◆ lengthManhattan() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::lengthManhattan ( Point< T, TCount > const & point)
static

Computes the Manhattan length of the vector.

Parameters
[in]pointThe point
Returns
The Manhattan distance

◆ lengthMinkowski() [1/2]

template<typename T , uint32_t Count>
double castor::point::lengthMinkowski ( Coords< T, Count > const & point,
double order )
inline

Computes the Minkowski length of the vector.

Parameters
[in]pointThe point
[in]orderThe Minkowski order
Returns
The Minkowski distance

◆ lengthMinkowski() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::lengthMinkowski ( Point< T, TCount > const & point,
double order )
static

Computes the Minkowski length of the vector.

Parameters
[in]pointThe point
[in]orderThe Minkowski order
Returns
The Minkowski distance

◆ lengthSquared() [1/2]

template<typename T , uint32_t Count>
double castor::point::lengthSquared ( Coords< T, Count > const & point)
inline

Computes the squared Euclidian length of the vector.

Parameters
[in]pointThe point
Returns
The squared Euclidian distance

◆ lengthSquared() [2/2]

template<typename T , uint32_t TCount>
static double castor::point::lengthSquared ( Point< T, TCount > const & point)
static

Computes the squared Euclidian length of the vector.

Parameters
[in]pointThe point
Returns
The squared Euclidian distance

◆ negate() [1/2]

template<typename T , uint32_t Count>
void castor::point::negate ( Coords< T, Count > & point)
inline

Negates every value of a point's data.

Parameters
[in]pointThe point

◆ negate() [2/2]

template<typename T , uint32_t TCount>
static void castor::point::negate ( Point< T, TCount > & point)
static

Negates every value of a point's data.

Parameters
[in]pointThe point

◆ normalise() [1/2]

template<typename T , uint32_t Count>
void castor::point::normalise ( Coords< T, Count > & point)
inline

Normalises the point.

Remarks
A point is normalised when it's length equals 1.0
So each data is divided by the point's length
Parameters
[in]pointThe point

◆ normalise() [2/2]

template<typename T , uint32_t TCount>
static void castor::point::normalise ( Point< T, TCount > & point)
static

Normalises the point.

Remarks
A point is normalised when it's length equals 1.0
So each data is divided by the point's length
Parameters
[in]pointThe point

◆ round()

template<typename T , uint32_t TCount>
static void castor::point::round ( Point< T, TCount > & point)
static

Rounds every value of a point's data.

Parameters
[in]pointThe point.

◆ setCoord() [1/3]

template<typename CoordT , uint32_t CountT>
void castor::point::setCoord ( Coords< CoordT, CountT > & pt,
uint32_t i,
CoordT const & c )

◆ setCoord() [2/3]

template<typename CoordT , uint32_t CountT>
void castor::point::setCoord ( LengthT< Point< CoordT, CountT > > & pt,
uint32_t i,
CoordT const & c )

◆ setCoord() [3/3]

template<typename CoordT , uint32_t CountT>
void castor::point::setCoord ( Point< CoordT, CountT > & pt,
uint32_t i,
CoordT const & c )

◆ setPoint() [1/2]

template<typename CoordT , typename CoordU , uint32_t CountT>
void castor::point::setPoint ( LengthT< Point< CoordT, CountT > > & lhs,
Point< CoordU, CountT > const & rhs )

◆ setPoint() [2/2]

template<typename CoordT , typename CoordU , uint32_t CountT>
void castor::point::setPoint ( Point< CoordT, CountT > & lhs,
Point< CoordU, CountT > const & rhs )