Class DiskGenerator
java.lang.Object
org.hipparchus.geometry.euclidean.twod.DiskGenerator
- All Implemented Interfaces:
SupportBallGenerator<Euclidean2D,
Vector2D>
Class generating an enclosing ball from its support points.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionballOnSupport
(List<Vector2D> support) Create a ball whose boundary lies on prescribed support points.
-
Constructor Details
-
DiskGenerator
public DiskGenerator()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<Euclidean2D,
Vector2D> - Parameters:
support
- support points (may be empty)- Returns:
- ball whose boundary lies on the prescribed support points
-