14#include "libmesh/point.h"
Ball primitive: a circle in 2D or a sphere in 3D.
Base class for geometry primitives.
The LineSegment class is used by the LineMaterialSamplerBase class and for some ray tracing stuff.
Triangle geometry helper.
libMesh::Point normal() const
Normal vector of the triangle.
~Triangle() override=default
bool intersect(const LineSegment &l, libMesh::Point &intersect_p) const
Check if a line segment intersects this triangle.
Ball computeBoundingBall() const override
Compute a bounding ball for this triangle.