35 #ifndef Foam_mergePoints_H 36 #define Foam_mergePoints_H 60 template<
class Po
intList,
class IndexerOp>
64 const IndexerOp& indexer,
65 const label nSubPoints,
68 const scalar mergeTol,
91 template<
class Po
intList>
97 const scalar mergeTol = SMALL,
98 const bool verbose =
false 116 template<
class Po
intList>
123 const scalar mergeTol = SMALL,
124 const bool verbose =
false 140 template<
class Po
intList>
144 const scalar mergeTol,
165 template<
class Po
intList>
169 const scalar mergeTol,
192 template<
class Po
intList>
197 const scalar mergeTol,
215 template<
class Po
intList>
219 const scalar mergeTol,
222 List<typename PointList::value_type>& newPoints
233 template<
class Po
intList>
238 const scalar mergeTol,
241 typename PointList::value_type origin
250 template<
class Po
intList>
255 const scalar mergeTol,
258 List<typename PointList::value_type>& newPoints,
259 typename PointList::value_type origin
UList< label > labelUList
A UList of labels.
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
label mergePoints(const PointList &points, labelList &pointToUnique, labelList &uniquePoints, const scalar mergeTol=SMALL, const bool verbose=false)
Calculate merge mapping, preserving the original point order. All points closer/equal mergeTol are to...
label inplaceMergePoints(PointList &points, const scalar mergeTol, const bool verbose, labelList &pointToUnique)
Inplace merge points, preserving the original point order. All points closer/equal mergeTol are to be...
label mergePoints(const PointList &points, const IndexerOp &indexer, const label nSubPoints, labelList &pointToUnique, labelList &uniquePoints, const scalar mergeTol, const bool verbose)
Implementation detail for Foam::mergePoints.
List< label > labelList
A List of labels.