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. |
void buildDistinctPoints | ( | PtForIter | pointsBeginning, | |
PtForIter | pointsEnd, | |||
PtOutIter | distinctPoints, | |||
IntOutIter | indices | |||
) | [inline] |
From a set of points, generate an indexed set of distinct points.
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.
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.
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. 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.