Go to the documentation of this file.
52 #ifndef searchableDisk_H
53 #define searchableDisk_H
70 public searchableSurface,
93 const scalar nearestDistSqr
122 const point& originPoint,
123 const vector& normalVector,
124 const scalar outerRadius,
125 const scalar innerRadius = 0
158 virtual label
size()
const
194 virtual void findNearest
201 virtual void findLine
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual void getVolumeType(const pointField &points, List< volumeType > &volType) const
bool writeData(Ostream &) const
TypeName("searchableDisk")
A class for managing temporary objects.
virtual tmp< pointField > coordinates() const
A class representing the concept of 1 (one) that can be used to avoid manipulating objects known to b...
const point & origin() const
virtual const wordList & regions() const
virtual volumeType outsideVolumeType() const
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
List< word > wordList
A List of words.
Searching on circular disk given as origin, normal (gets normalised) and radius. Optionally it can be...
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
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....
MinMax< scalar > scalarMinMax
A scalar min/max range.
virtual void boundingSpheres(pointField ¢res, scalarField &radiusSqr) 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 label size() const
virtual tmp< pointField > points() const
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const
PointIndexHit< point > pointIndexHit
A PointIndexHit for 3D points.
virtual ~searchableDisk()=default
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void getNormal(const List< pointIndexHit > &, vectorField &normals) const
static tmp< T > New(Args &&... args)
virtual bool hasVolumeType() const
A bounding box defined in terms of min/max extrema points.
virtual void findLineAny(const pointField &start, const pointField &end, List< pointIndexHit > &) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void findLineAll(const pointField &start, const pointField &end, List< List< pointIndexHit >> &) const
vector point
Point is a vector.
virtual bool overlaps(const boundBox &bb) const
A min/max value pair with additional methods. In addition to conveniently storing values,...
Minimal example by using system/controlDict.functions: