Go to the documentation of this file.
66 #ifndef searchableSurfaceWithGaps_H
67 #define searchableSurfaceWithGaps_H
82 class searchableSurfaceWithGaps
84 public searchableSurface
94 UPtrList<searchableSurface> subGeom_;
109 static label countMisses
115 static label countMisses
133 TypeName(
"searchableSurfaceWithGaps");
176 virtual label
size()
const
307 subGeom_[0].setField(
values);
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &info) const
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual tmp< pointField > coordinates() const
virtual void getField(const List< pointIndexHit > &info, labelList &values) const
virtual void getNormal(const List< pointIndexHit > &, vectorField &normal) const =0
A class for managing temporary objects.
virtual ~searchableSurfaceWithGaps()=default
virtual tmp< pointField > coordinates() const =0
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
virtual void findLineAll(const pointField &start, const pointField &end, List< List< pointIndexHit >> &) const
virtual volumeType outsideVolumeType() const
virtual bool writeData(Ostream &) const =0
virtual label size() const
virtual label size() const =0
InfoProxy< IOobject > info() const
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const =0
An enumeration wrapper for classification of a location as being inside/outside of a volume.
Generic templated field type.
virtual const wordList & regions() const =0
virtual tmp< pointField > points() const =0
virtual bool overlaps(const boundBox &bb) const =0
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
scalarField samples(nIntervals, Zero)
virtual void getNormal(const List< pointIndexHit > &info, vectorField &normal) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool hasVolumeType() const
OBJstream os(runTime.globalPath()/outputName)
constexpr auto end(C &c) -> decltype(c.end())
virtual volumeType outsideVolumeType() const =0
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &) const =0
bool writeData(Ostream &os) const
virtual const wordList & regions() const
const searchableSurface & surface() const
virtual void getRegion(const List< pointIndexHit > &info, labelList ®ion) const
An ordered pair of two objects of type <T> with first() and second() elements.
virtual void findLineAny(const pointField &start, const pointField &end, List< pointIndexHit > &) const
virtual void findLine(const pointField &start, const pointField &end, List< pointIndexHit > &) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual tmp< pointField > points() const
virtual void setField(const labelList &values)
virtual void getVolumeType(const pointField &samples, List< volumeType > &info) const
virtual void boundingSpheres(pointField ¢res, scalarField &radiusSqr) const
searchableSurface using multiple slightly shifted underlying surfaces to make sure pierces don't go t...
A bounding box defined in terms of min/max extrema points.
virtual void boundingSpheres(pointField ¢res, scalarField &radiusSqr) const =0
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool overlaps(const boundBox &bb) const
virtual void getField(const List< pointIndexHit > &, labelList &values) const
virtual void getVolumeType(const pointField &, List< volumeType > &) const =0
virtual bool hasVolumeType() const
Minimal example by using system/controlDict.functions:
TypeName("searchableSurfaceWithGaps")