Go to the documentation of this file.
64 #ifndef searchableRotatedBox_H
65 #define searchableRotatedBox_H
80 class searchableRotatedBox
82 public searchableSurface
90 coordSystem::cartesian transform_;
99 searchableRotatedBox(
const searchableRotatedBox&) =
delete;
102 void operator=(
const searchableRotatedBox&) =
delete;
151 virtual label
size()
const
187 const scalar nearestDistSqr
vectorField pointField
pointField is a vectorField.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual const wordList & regions() const
virtual tmp< pointField > points() const
A class for managing temporary objects.
virtual ~searchableRotatedBox()=default
virtual volumeType outsideVolumeType() const
pointIndexHit findLineAny(const point &start, const point &end) const
Standard boundBox with extra functionality for use in octree.
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const
virtual void getNormal(const List< pointIndexHit > &, vectorField &normal) const
bool writeData(Ostream &) const
virtual tmp< pointField > coordinates() const
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
virtual bool overlaps(const boundBox &bb) const
An enumeration wrapper for classification of a location as being inside/outside of a volume.
Generic templated field type.
virtual void findLineAll(const pointField &start, const pointField &end, List< List< pointIndexHit >> &) const
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
TypeName("searchableRotatedBox")
pointIndexHit findNearest(const point &sample, const scalar nearestDistSqr) const
virtual bool hasVolumeType() 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
pointIndexHit findLine(const point &start, const point &end) const
virtual void boundingSpheres(pointField ¢res, scalarField &radiusSqr) const
virtual void getVolumeType(const pointField &points, List< volumeType > &volType) const
A Cartesian coordinate system.
Searching on a rotated box.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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,...
@ OUTSIDE
A location outside the volume.
virtual label size() const
Minimal example by using system/controlDict.functions: