Go to the documentation of this file.
54 #ifndef searchableBox_H
55 #define searchableBox_H
71 public searchableSurface,
82 void projectOntoCoordPlane
97 const scalar nearestDistSqr
148 virtual label
size()
const
184 const scalar nearestDistSqr
195 const scalar nearestDistSqr
230 virtual void findNearest
virtual label size() const
Defines the attributes of an object for which implicit objectRegistry management is supported,...
pointIndexHit findLine(const point &start, const point &end) const
A class for managing temporary objects.
bool writeData(Ostream &) const
pointIndexHit findLineAny(const point &start, const point &end) const
Standard boundBox with extra functionality for use in octree.
InfoProxy< IOobject > info() const
List< word > wordList
A List of words.
bool overlaps(const boundBox &bb) const
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
pointIndexHit findNearestOnEdge(const point &sample, const scalar nearestDistSqr) const
An enumeration wrapper for classification of a location as being inside/outside of a volume.
Generic templated field type.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
virtual tmp< pointField > coordinates() const
virtual tmp< pointField > points() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
constexpr auto end(C &c) -> decltype(c.end())
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &) const =0
virtual void getVolumeType(const pointField &points, List< volumeType > &volType) const
virtual bool overlaps(const boundBox &bb) const
PointIndexHit< point > pointIndexHit
A PointIndexHit for 3D points.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual volumeType outsideVolumeType() const
virtual const wordList & regions() const
virtual ~searchableBox()=default
virtual void findLineAll(const pointField &start, const pointField &end, List< List< pointIndexHit >> &) const
TypeName("searchableBox")
virtual bool hasVolumeType() const
A bounding box defined in terms of min/max extrema points.
bool ln(const fileName &src, const fileName &dst)
Searching on bounding box.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
vector point
Point is a vector.
virtual void getNormal(const List< pointIndexHit > &, vectorField &normal) const
virtual void boundingSpheres(pointField ¢res, scalarField &radiusSqr) const
@ OUTSIDE
A location outside the volume.
Minimal example by using system/controlDict.functions: