13#include "libmesh/point.h"
14#include "libmesh/sphere.h"
Ball primitive: a circle in 2D or a sphere in 3D.
const libMesh::Point & center() const
libMesh::Sphere toSphere() const
bool intersect(const LineSegment &line_segment) const override
Check if a line segment intersects this ball.
Ball(const libMesh::Point &c, libMesh::Real r)
Ball computeBoundingBall() const override
return the ball itself
libMesh::Real radius() const
Base class for geometry primitives.
The LineSegment class is used by the LineMaterialSamplerBase class and for some ray tracing stuff.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real