AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Consists of a set of methods that compute the closest point on a geometric primitive B from another geometric primitive A. More...
#include "axom/primal/geometry/Point.hpp"
#include "axom/primal/geometry/Triangle.hpp"
#include "axom/primal/geometry/OrientedBoundingBox.hpp"
Namespaces | |
axom | |
axom::primal | |
Macros | |
#define | A(t) t[0] |
#define | B(t) t[1] |
#define | C(t) t[2] |
Functions | |
template<typename T , int NDIMS> | |
Point< T, NDIMS > | axom::primal::closest_point (const Point< T, NDIMS > &P, const Triangle< T, NDIMS > &tri, int *loc=nullptr) |
Computes the closest point from a point, P, to a given triangle. More... | |
template<typename T , int NDIMS> | |
Point< T, NDIMS > | axom::primal::closest_point (const Point< T, NDIMS > &pt, const OrientedBoundingBox< T, NDIMS > &obb) |
Computes the closest point from a point to a given OBB. More... | |
Consists of a set of methods that compute the closest point on a geometric primitive B from another geometric primitive A.
#define A | ( | t | ) | t[0] |
Referenced by axom::primal::Triangle< T, NDIMS >::area(), axom::primal::closest_point(), axom::numerics::determinant(), axom::mint::MeshCoordinates::getCoordinateArray(), axom::numerics::jacobi_eigensolve(), axom::numerics::linear_solve(), axom::numerics::lower_triangular(), axom::numerics::lu_solve(), axom::numerics::matrix_multiply(), axom::numerics::matrix_transpose(), axom::numerics::matrix_vector_multiply(), axom::primal::operator!=(), axom::primal::Triangle< T, NDIMS >::physToBarycentric(), axom::numerics::Matrix< T >::swapRows(), axom::primal::Tetrahedron< T, NDIMS >::Tetrahedron(), axom::primal::Triangle< T, NDIMS >::Triangle(), and axom::numerics::upper_triangular().
#define B | ( | t | ) | t[1] |
Referenced by axom::primal::Triangle< T, NDIMS >::area(), axom::primal::closest_point(), axom::spin::MortonBase< CoordType, MortonIndexType, Mortonizer< CoordType, MortonIndexType, 2 > >::contractBits(), axom::spin::MortonBase< CoordType, MortonIndexType, Mortonizer< CoordType, MortonIndexType, 2 > >::expandBits(), axom::mint::MeshCoordinates::getCoordinateArray(), axom::numerics::matrix_multiply(), axom::primal::operator!=(), axom::primal::Triangle< T, NDIMS >::physToBarycentric(), axom::primal::Tetrahedron< T, NDIMS >::Tetrahedron(), and axom::primal::Triangle< T, NDIMS >::Triangle().