34 double radius = std::numeric_limits<double>::epsilon());
47 std::vector<MathLib::Point3d*>
const& points);
81 std::vector<MathLib::Point3d*> sphere_points,
82 std::size_t start_idx,
84 std::size_t n_boundary_points);
88 std::numeric_limits<double>::max(),
89 std::numeric_limits<double>::max()}};
Definition of the Point3d class.
static MinimalBoundingSphere recurseCalculation(std::vector< MathLib::Point3d * > sphere_points, std::size_t start_idx, std::size_t length, std::size_t n_boundary_points)
MinimalBoundingSphere()
Constructor using no points.
double getRadius() const
Returns the radius of the sphere.
MathLib::Point3d getCenter() const
Returns the center point of the sphere.
double pointDistanceSquared(MathLib::Point3d const &pnt) const