35 #ifndef refinementFeatures_H 36 #define refinementFeatures_H 54 public PtrList<extendedFeatureEdgeMesh>
81 void buildTrees(
const label);
const PtrList< indexedOctree< treeDataPoint > > & pointTrees() const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
refinementFeatures(const objectRegistry &io, const PtrList< dictionary > &featDicts)
Construct from description.
scalar maxDistance() const
Highest distance of all features.
void findNearestPoint(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo) const
Find nearest feature point. Sets:
Tuple2< scalar, label > nearInfo
Private class for finding nearest.
Encapsulates queries for features.
scalarField samples(nIntervals, 0)
const List< scalarField > & distances() const
Per featureEdgeMesh the list of ranges.
const PtrList< indexedOctree< treeDataEdge > > & edgeTrees() const
void findNearestRegionEdge(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo, vectorField &nearNormal) const
Find nearest point on nearest region edge. Sets:
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const PtrList< indexedOctree< treeDataEdge > > & regionEdgeTrees() const
void findNearestEdge(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo, vectorField &nearNormal) const
Find nearest point on nearest feature edge. Sets:
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Registry of regIOobjects.
const labelListList & levels() const
Per featureEdgeMesh the list of level.