Class SphereGenerator
java.lang.Object
org.apache.commons.math3.geometry.euclidean.threed.SphereGenerator
- All Implemented Interfaces:
SupportBallGenerator<Euclidean3D,
Vector3D>
Class generating an enclosing ball from its support points.
- Since:
- 3.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionballOnSupport
(List<Vector3D> support) Create a ball whose boundary lies on prescribed support points.private BigFraction
minor
(BigFraction[] c1, BigFraction[] c2, BigFraction[] c3) Compute a dimension 4 minor, when 4th column is known to be filled with 1.0.
-
Constructor Details
-
SphereGenerator
public SphereGenerator()
-
-
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
-
minor
Compute a dimension 4 minor, when 4th column is known to be filled with 1.0.- Parameters:
c1
- first columnc2
- second columnc3
- third column- Returns:
- value of the minor computed has an exact fraction
-