|
template<typename T > |
math::Vector< T, 3 > | math::geom::circumsphere_center (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d) |
| Returns the center of the circumsphere defined by the four given vertices.
|
|
template<typename T > |
float | math::geom::circumsphere_radius (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d) |
| Returns the circumsphere radius of the sphere defined by a, b, c, d.
|
|
template<typename T > |
float | math::geom::circumsphere_test (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d, math::Vector< T, 3 > const &p) |
| Tests whether vertex 'p' is contained in the circumsphere defined by the four vertices a,b,c,d.
|
|
template<typename T > |
float | math::geom::insphere_radius (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d) |
| Returns the insphere radius of the tetrahedron defined by a, b, c, d.
|
|
template<typename T > |
bool | math::geom::points_coplanar (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d, T const &cos_angle) |
| Tests whether four points are coplanar.
|
|
template<typename T > |
math::Vector< T, 3 > | math::geom::tetrahedron_bary (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d, math::Vector< T, 3 > const &p) |
| Calculates the barycentric coordinates of point 'p' with respect to the tetrahedron given by vertices a,b,c,d.
|
|
template<typename T > |
T | math::geom::tetrahedron_orientation (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d) |
| Calculates the orientation of the given tetrahedron.
|
|
template<typename T > |
T | math::geom::tetrahedron_volume (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c, math::Vector< T, 3 > const &d) |
| Calculates the volume of the given tetraheron.
|
|
template<typename T > |
T | math::geom::triangle_area (math::Vector< T, 3 > const &a, math::Vector< T, 3 > const &b, math::Vector< T, 3 > const &c) |
| Calculates the area of the given triangle.
|
|