Owns a saved boundary (surface) mesh and the SurfaceElementSet wrapping it.
const InputParameters & parameters() const
Get the parameters of the object.
Common base class providing shared parameters and validation for point-containment user objects.
Determines whether a point is inside a single closed surface mesh provided by a BoundaryMeshBuilder.
std::unique_ptr< PointContainmentClassifier > _classifier
The selected point-containment backend, built in initialSetup().
Point rayDirection() const
The resolved ray direction used by the ray-casting backend.
SurfaceGeometry::SurfaceSide sideness(const Point &p) const override
Classify a point against the surface.
static InputParameters validParams()
const BoundaryMeshBuilder & _builder
Builder that owns the surface mesh and SurfaceElementSet.
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
virtual Real spatialValue(const Point &p) const override
1 for INSIDE/ON, 0 for OUTSIDE – usable directly by SpatialUserObjectAux.
Mixin interface implemented by user objects that can classify a query point against a closed surface ...
bool contains(const libMesh::Point &p) const
Whether the point is inside or on the surface(s). ON maps to true.
SurfaceSide
The side of a closed surface where a query point is located.