Go to the documentation of this file.
49 #ifndef searchablePlane_H
50 #define searchablePlane_H
66 public searchableSurface,
107 const point& basePoint,
141 virtual label
size()
const
185 virtual void findLine
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual ~searchablePlane()=default
const vector & normal() const
virtual void getVolumeType(const pointField &, List< volumeType > &) const
virtual bool overlaps(const boundBox &bb) const
A class for managing temporary objects.
const point & origin() const
virtual label size() const
virtual void boundingSpheres(pointField ¢res, scalarField &radiusSqr) const
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
virtual volumeType outsideVolumeType() 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....
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
virtual tmp< pointField > points() const
bool writeData(Ostream &) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual const wordList & regions() const
static tmp< T > New(Args &&... args)
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const
A bounding box defined in terms of min/max extrema points.
TypeName("searchablePlane")
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool hasVolumeType() const
Searching on (infinite) plane. The dictionary specifications are identical to the Foam::plane require...
virtual void findLineAny(const pointField &start, const pointField &end, List< pointIndexHit > &) const
virtual void getNormal(const List< pointIndexHit > &, vectorField &normal) const
virtual void findLineAll(const pointField &start, const pointField &end, List< List< pointIndexHit >> &) const
virtual tmp< pointField > coordinates() const
Minimal example by using system/controlDict.functions: