38 #ifndef sampledPlane_H 39 #define sampledPlane_H 64 const bool triangulate_;
67 mutable bool needsUpdate_;
A class for handling keywords in dictionaries.
virtual const faceList & faces() const
Faces of surface.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const labelList & cutCells() const
Return List of cells cut by the plane.
An abstract class for surfaces with sampling.
virtual const pointField & points() const
Points of surface.
const List< face > & faces() const
Return const access to the faces.
virtual void print(Ostream &) const
Write.
const plane & planeDesc() const
Return plane used.
const Field< PointType > & points() const
Return reference to global points.
const labelList & meshCells() const
For every face original cell in mesh.
Generic GeometricField class.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
virtual bool expire()
Mark the surface as needing an update.
const polyMesh & mesh() const
Access to the underlying mesh.
Constructs plane through mesh.
virtual bool needsUpdate() const
Does the surface need an update?
A class for handling words, derived from string.
const word & name() const
Name of surface.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
static const word null
An empty word.
virtual bool update()
Update the surface as required.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A sampledSurface defined by a cuttingPlane. Triangulated by default.
bool interpolate() const
Interpolation requested for surface.
virtual ~sampledPlane()
Destructor.
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
TypeName("sampledPlane")
Runtime type information.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
sampledPlane(const word &name, const polyMesh &mesh, const plane &planeDesc, const keyType &zoneKey=word::null, const bool triangulate=true)
Construct from components.