vtf-logo

distance.h File Reference

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 "distance.ipp"

Go to the source code of this file.

Namespaces

namespace  geom

Functions

template<bool _A, typename _T, typename _V, typename _IS>
IndSimpSetIncAdj< 2, 1, _A,
_T, _V, _IS >::Number 
geom::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 
geom::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 
geom::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 geom::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 geom::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 
geom::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 
geom::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 
geom::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 geom::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 geom::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.


Detailed Description

Compute the distance to a simplicial mesh for a single point.


Generated on Fri Aug 24 12:55:59 2007 for Computational Geometry Package by  doxygen 1.4.7