Compute the distance to a simplicial mesh for a single point. More...
#include "geometry.h"
#include "../simplex/simplex_distance.h"
#include "../../../ads/algorithm/min_max.h"
#include "../defs.h"
#include <algorithm>
Go to the source code of this file.
Functions | |
template<bool _A, typename _T , typename _V , typename _IS > | |
IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Number | computeSignedDistance (const IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS > &mesh, const ads::Array< 1, typename IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Number > &squaredHalfLengths, const typename IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Vertex &point, typename IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Vertex *closestPoint) |
Compute the signed distance to the mesh and closest point on the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS > | |
IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Number | computeSignedDistance (const IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS > &mesh, const typename IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Vertex &point, typename IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Vertex *closestPoint) |
Compute the signed distance to the mesh and closest point on the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS > | |
IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Number | computeSignedDistance (const IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS > &mesh, const typename IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS >::Vertex &point) |
Compute the signed distance to the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS , typename InputIterator , typename NumberOutputIterator , typename PointOutputIterator > | |
void | computeSignedDistance (const IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS > &mesh, InputIterator pointsBeginning, InputIterator pointsEnd, NumberOutputIterator distances, PointOutputIterator closestPoints) |
Compute the signed distances to the mesh and closest points on the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS , typename InputIterator , typename NumberOutputIterator > | |
void | computeSignedDistance (const IndSimpSetIncAdj< 2, 1, _A, _T, _V, _IS > &mesh, InputIterator pointsBeginning, InputIterator pointsEnd, NumberOutputIterator distances) |
Compute the signed distances to the mesh and closest points on the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS > | |
IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Number | computeSignedDistance (const IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS > &mesh, const ads::Array< 1, typename IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Number > &squaredLongestEdgeLengths, const typename IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Vertex &point, typename IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Vertex *closestPoint) |
Compute the signed distance to the mesh and closest point on the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS > | |
IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Number | computeSignedDistance (const IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS > &mesh, const typename IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Vertex &point, typename IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Vertex *closestPoint) |
Compute the signed distance to the mesh and closest point on the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS > | |
IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Number | computeSignedDistance (const IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS > &mesh, const typename IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS >::Vertex &point) |
Compute the signed distance to the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS , typename InputIterator , typename NumberOutputIterator , typename PointOutputIterator > | |
void | computeSignedDistance (const IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS > &mesh, InputIterator pointsBeginning, InputIterator pointsEnd, NumberOutputIterator distances, PointOutputIterator closestPoints) |
Compute the signed distances to the mesh and closest points on the mesh. | |
template<bool _A, typename _T , typename _V , typename _IS , typename InputIterator , typename NumberOutputIterator > | |
void | computeSignedDistance (const IndSimpSetIncAdj< 3, 2, _A, _T, _V, _IS > &mesh, InputIterator pointsBeginning, InputIterator pointsEnd, NumberOutputIterator distances) |
Compute the signed distances to the mesh and closest points on the mesh. |
Compute the distance to a simplicial mesh for a single point.