public class SphereGenerator extends java.lang.Object implements SupportBallGenerator<Euclidean3D,Vector3D>
| Constructor and Description |
|---|
SphereGenerator() |
| Modifier and Type | Method and Description |
|---|---|
EnclosingBall<Euclidean3D,Vector3D> |
ballOnSupport(java.util.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.
|
public EnclosingBall<Euclidean3D,Vector3D> ballOnSupport(java.util.List<Vector3D> support)
ballOnSupport in interface SupportBallGenerator<Euclidean3D,Vector3D>support - support points (may be empty)private BigFraction minor(BigFraction[] c1, BigFraction[] c2, BigFraction[] c3)
c1 - first columnc2 - second columnc3 - third columnCopyright (c) 2003-2015 Apache Software Foundation