org.apache.commons.math3.geometry.euclidean.threed

## Class SphereGenerator

- java.lang.Object
- - org.apache.commons.math3.geometry.euclidean.threed.SphereGenerator

- All Implemented Interfaces:
    SupportBallGenerator<Euclidean3D,Vector3D>

      public class SphereGenerator
      extends Object
      implements SupportBallGenerator<Euclidean3D,Vector3D>

  Class generating an enclosing ball from its support points.
  Since:
    3.3
  Version:
    $Id: SphereGenerator.java 1564921 2014-02-05 20:42:58Z luc $

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SphereGenerator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `EnclosingBall<Euclidean3D,Vector3D>` | `ballOnSupport(List<Vector3D> support)` Create a ball whose boundary lies on prescribed support points.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SphereGenerator

          public SphereGenerator()

  - ### Method Detail

    - #### ballOnSupport

          public EnclosingBall<Euclidean3D,Vector3D> ballOnSupport(List<Vector3D> support)

      Create a ball whose boundary lies on prescribed support points.
      Specified by:
        `ballOnSupport` in interface `SupportBallGenerator<Euclidean3D,Vector3D>`
      Parameters:
        `support` - support points (may be empty)
      Returns:
        ball whose boundary lies on the prescribed support points

Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.