Top Description Methods
org.apache.commons.math3.geometry.enclosing

public Interface SupportBallGenerator<S extends Space, P extends Point<S>>

Known Direct Implementers
org.apache.commons.math3.geometry.euclidean.threed.SphereGenerator, org.apache.commons.math3.geometry.euclidean.twod.DiskGenerator
Type Parameters
<S>
Space type.
<P>
Point type.
Imports
java.util.List, org.apache.commons.math3.geometry.Point, .Space

Interface for generating balls based on support points.

This generator is used in the Emo Welzl algorithm and its derivatives.

Since
3.3
See Also
EnclosingBall

Method Summary

Modifier and TypeMethod and Description
public EnclosingBall<S, P>

Returns:

ball whose boundary lies on the prescribed support points
ballOnSupport
(List<P>
support points (may be empty)
support
)

Create a ball whose boundary lies on prescribed support points.

Method Detail

ballOnSupportback to summary
public EnclosingBall<S, P> ballOnSupport(List<P> support)

Create a ball whose boundary lies on prescribed support points.

Parameters
support:List<P>

support points (may be empty)

Returns:EnclosingBall<S, P>

ball whose boundary lies on the prescribed support points