35 #ifndef triSurfaceSearch_H 36 #define triSurfaceSearch_H 137 return maxTreeDepth_;
label maxTreeDepth() const
Return max tree depth of octree.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
void findNearest(const pointField &samples, const scalarField &nearestDistSqr, List< pointIndexHit > &info) const
Helper class to search on triSurface.
scalarField samples(nIntervals, 0)
~triSurfaceSearch()
Destructor.
void findLine(const pointField &start, const pointField &end, List< pointIndexHit > &info) const
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
boolList calcInside(const pointField &searchPoints) const
Calculate for each searchPoint inside/outside status.
void findLineAll(const pointField &start, const pointField &end, List< List< pointIndexHit >> &info) const
Calculate all intersections from start to end.
triSurfaceSearch(const triSurface &)
Construct from surface. Holds reference to surface!
void clearOut()
Clear storage.
void findLineAny(const pointField &start, const pointField &end, List< pointIndexHit > &info) const
pointIndexHit nearest(const point &, const vector &span) const
Calculate nearest point on surface for single searchPoint. Returns.
const triSurface & surface() const
Return reference to the surface.
Non-pointer based hierarchical recursive searching.
scalar tolerance() const
Return tolerance to use in searches.
void operator=(const triSurfaceSearch &)=delete
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Triangulated surface description with patch information.
const indexedOctree< treeDataTriSurface > & tree() const
Demand driven construction of the octree.