Ball primitive: a circle in 2D or a sphere in 3D.
The LineSegment class is used by the LineMaterialSamplerBase class and for some ray tracing stuff.
Ball computeBoundingBall() const override
Compute a bounding ball for this line segment.
bool intersect(const libMesh::Plane &pl, Point &intersect_p) const
Check if a line segment intersects a plane, and if so, return the intersection point.
Derived class for 2-node edge surface elements (Edge2).
Ball computeBoundingBall() const override
Compute a bounding ball for this line segment.
bool intersect(const LineSegment &line_segment) const override
Check if a line segment intersects another line segment, without returning the intersection point.
Base class for a single surface (boundary) element of a closed surface mesh.
const Point & normal() const
Getter for the normal vector.
const Elem & elem() const
Getter for the underlying element.