Functions | |
template<int N, typename T> | |
T | geom::computeDistance (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y) |
Return the distance between the points x and y . | |
template<int N, typename T> | |
T | geom::computeDistance (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x) |
Return the distance between the points x [0] and x [1]. | |
template<int N, typename T> | |
T | geom::computeContent (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y) |
Return the distance between the points x and y . | |
template<int N, typename T> | |
T | geom::computeContent (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x) |
Return the distance between the points x [0] and x [1]. | |
template<int N, typename T> | |
void | geom::computeGradientOfDistance (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x) of the distance between the points x and y . | |
template<int N, typename T> | |
void | geom::computeGradientOfDistance (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x[0]) of the distance between the points x [0] and x [1]. | |
template<int N, typename T> | |
void | geom::computeGradientOfContent (const ads::FixedArray< N, T > &x, const ads::FixedArray< N, T > &y, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x) of the distance between the points x and y . | |
template<int N, typename T> | |
void | geom::computeGradientOfContent (const ads::FixedArray< 2, ads::FixedArray< N, T > > &x, ads::FixedArray< N, T > *gradient) |
Calculate the gradient (with respect to x[0]) of the distance between the points x [0] and x [1]. |
T geom::computeContent | ( | const ads::FixedArray< N, T > & | x, | |
const ads::FixedArray< N, T > & | y | |||
) |
Return the distance between the points x
and y
.
In 1-D the distance is signed. In N-D the distance is unsigned for N > 1.
T geom::computeDistance | ( | const ads::FixedArray< N, T > & | x, | |
const ads::FixedArray< N, T > & | y | |||
) |
Return the distance between the points x
and y
.
In 1-D the distance is signed. In N-D the distance is unsigned for N > 1.