13 #include "libmesh/point.h" 14 #include "libmesh/sphere.h" 39 ~Ball()
override =
default;
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...
const libMesh::Point & center() const
libMesh::Real radius() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for geometry primitives.
libMesh::Sphere toSphere() const
Ball computeBoundingBall() const override
return the ball itself
bool intersect(const LineSegment &line_segment) const override
Check if a line segment intersects this ball.
Ball(const libMesh::Point &c, libMesh::Real r)