Class SphereGenerator
java.lang.Object
org.hipparchus.geometry.euclidean.threed.SphereGenerator
- All Implemented Interfaces:
SupportBallGenerator<Euclidean3D,
Vector3D>
Class generating an enclosing ball from its support points.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionballOnSupport
(List<Vector3D> support) Create a ball whose boundary lies on prescribed support points.
-
Constructor Details
-
SphereGenerator
public SphereGenerator()Empty constructor.This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.
- Since:
- 3.0
-
-
Method Details
-
ballOnSupport
Create a ball whose boundary lies on prescribed support points.- Specified by:
ballOnSupport
in interfaceSupportBallGenerator<Euclidean3D,
Vector3D> - Parameters:
support
- support points (may be empty)- Returns:
- ball whose boundary lies on the prescribed support points
-