|
| SimplexProjection (const Simplex< T, N > &s, Vec< T, N > p, ProjectionOp op, SimplexFaces check_faces=SimplexFaces::ALL) |
|
T | distance () const |
|
Vec< T, N > | normal_direction () |
| Compute a direction normal to the projected face.
|
|
Simplex< T, N > | projected_face () const |
| Extract the face to which p projects.
|
|
Vec< T, N > | projected_point () const |
|
|
bool | _find_nearest_face (const SimplexFace< T, N > &face, Vec< T, N > to_p, int depth) |
|
◆ normal_direction()
template<typename T, index_t N>
Vec< T, N > normal_direction |
( |
| ) |
|
|
inline |
Compute a direction normal to the projected face.
In some cases, there may be more numerically stable methods for obtaining the normal than subtracting the projected point from the original point.
The documentation for this struct was generated from the following file: