public class SphereGenerator extends Object implements SupportBallGenerator<Vector3D>
| Constructor and Description |
|---|
SphereGenerator(DoublePrecisionContext precision)
Construct a new instance with the given precision context.
|
| Modifier and Type | Method and Description |
|---|---|
EnclosingBall<Vector3D> |
ballOnSupport(List<Vector3D> support)
Create a ball whose boundary lies on prescribed support points.
|
public SphereGenerator(DoublePrecisionContext precision)
precision - precision context used to compare floating point numberspublic EnclosingBall<Vector3D> ballOnSupport(List<Vector3D> support)
ballOnSupport in interface SupportBallGenerator<Vector3D>support - support points (may be empty)Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.