AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
closest_point.hpp File Reference

Consists of a set of methods that compute the closest point on a geometric primitive B from another geometric primitive A. More...

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

Detailed Description

Consists of a set of methods that compute the closest point on a geometric primitive B from another geometric primitive A.

Macro Definition Documentation

◆ A

◆ B

◆ C