Identify distinct points and remove duplicate points.

Functions

template<int N, typename PtForIter , typename PtOutIter , typename IntOutIter , typename T >
void buildDistinctPoints (PtForIter pointsBeginning, PtForIter pointsEnd, PtOutIter distinctPointsOutput, IntOutIter indicesOutput, const T minDistance)
 From a set of points, generate an indexed set of distinct points.
template<int N, typename PtForIter , typename PtOutIter , typename IntOutIter >
void buildDistinctPoints (PtForIter pointsBeginning, PtForIter pointsEnd, PtOutIter distinctPoints, IntOutIter indices)
 From a set of points, generate an indexed set of distinct points.
template<int N, int M, bool A, typename T , typename V , typename IS >
void removeDuplicateVertices (IndSimpSet< N, M, A, T, V, IS > *x, T minDistance)
 Remove duplicate vertices.
template<int N, int M, bool A, typename T , typename V , typename IS >
void removeDuplicateVertices (IndSimpSet< N, M, A, T, V, IS > *x)
 Remove duplicate vertices.

Detailed Description


Function Documentation

template<int N, typename PtForIter , typename PtOutIter , typename IntOutIter >
void buildDistinctPoints ( PtForIter  pointsBeginning,
PtForIter  pointsEnd,
PtOutIter  distinctPoints,
IntOutIter  indices 
) [inline]

From a set of points, generate an indexed set of distinct points.

Parameters:
pointsBeginning is the beginning of a range of points.
pointsEnd is the end of a range of points.
distinctPoints The distinct points will be written to this iterator.
indices For each input point, there is an index into the container of distinct points.

Template parameters:

  • N is the space dimension.
  • PtForIter is a forward iterator for Cartesian points.
  • PtOutIter is an output iterator for Cartesian points.
  • IntOutIter in an output iterator for integers.

This function chooses an appropriate minimum distance and then calls the above buildDistinctPoints() function.

template<int N, typename PtForIter , typename PtOutIter , typename IntOutIter , typename T >
void buildDistinctPoints ( PtForIter  pointsBeginning,
PtForIter  pointsEnd,
PtOutIter  distinctPointsOutput,
IntOutIter  indicesOutput,
const T  minDistance 
) [inline]

From a set of points, generate an indexed set of distinct points.

Parameters:
pointsBeginning is the beginning of a range of points.
pointsEnd is the end of a range of points.
distinctPointsOutput The distinct points will be written to this iterator.
indicesOutput For each input point, there is an index into the container of distinct points.
minDistance is the minimum distance separating distinct points.

Template parameters:

  • N is the space dimension.
  • PtForIter is a forward iterator for Cartesian points.
  • PtOutIter is an output iterator for Cartesian points.
  • IntOutIter in an output iterator for integers.
  • T is the number type.
template<int N, int M, bool A, typename T , typename V , typename IS >
void removeDuplicateVertices ( IndSimpSet< N, M, A, T, V, IS > *  x  )  [inline]

Remove duplicate vertices.

This function chooses an appropriate minimum distance and then calls the above removeDuplicateVertices() function.

Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3