Go to the documentation of this file.
53 #ifndef searchableExtrudedCircle_H
54 #define searchableExtrudedCircle_H
67 template<
class Type>
class indexedOctree;
73 class searchableExtrudedCircle
75 public searchableSurface
80 autoPtr<edgeMesh> eMeshPtr_;
83 autoPtr<indexedOctree<treeDataEdge>> edgeTree_;
104 TypeName(
"searchableExtrudedCircle");
139 virtual label
size()
const;
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual tmp< pointField > coordinates() const
Get representative set of element coordinates.
bool writeData(Ostream &) const
Pure virtual writeData function.
virtual void findParametricNearest(const point &start, const point &end, const scalarField &lambdas, const scalarField &nearestDistSqr, List< pointIndexHit > &) const
Unique to parametric geometry: given points find.
virtual void findNearest(const pointField &sample, const scalarField &nearestDistSqr, List< pointIndexHit > &) const
A class for managing temporary objects.
virtual void getNormal(const List< pointIndexHit > &, vectorField &normal) const
From a set of points and indices get the normal.
Searching on edgeMesh with constant radius.
virtual void findLineAll(const pointField &start, const pointField &end, List< List< pointIndexHit >> &) const
Get all intersections in order from start to end.
TypeName("searchableExtrudedCircle")
Runtime type information.
virtual const wordList & regions() const
Names of regions.
virtual ~searchableExtrudedCircle()
Destructor.
List< word > wordList
A List of words.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
An enumeration wrapper for classification of a location as being inside/outside of a volume.
virtual void findLine(const pointField &start, const pointField &end, List< pointIndexHit > &) const
Find first intersection on segment from start to end.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
virtual bool overlaps(const boundBox &bb) const
Does any part of the surface overlap the supplied bound box?
virtual void getRegion(const List< pointIndexHit > &, labelList ®ion) const
From a set of points and indices get the region.
virtual tmp< pointField > points() const
Get the points that define the surface.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
constexpr auto end(C &c) -> decltype(c.end())
Return iterator to the end of the container c.
virtual void getVolumeType(const pointField &, List< volumeType > &) const
Determine type (inside/outside/mixed) for point.
virtual void boundingSpheres(pointField ¢res, scalarField &radiusSqr) const
Get bounding spheres (centre and radius squared), one per element.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual bool hasVolumeType() const
Whether supports volume type below.
A bounding box defined in terms of min/max extrema points.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void findLineAny(const pointField &start, const pointField &end, List< pointIndexHit > &) const
Return any intersection on segment from start to end.
virtual label size() const
Range of local indices that can be returned.
A location outside the volume.
virtual volumeType outsideVolumeType() const
What is type of points outside bounds.
Minimal example by using system/controlDict.functions: