DiskGenerator (Apache Commons Math 3.3 API)

org.apache.commons.math3.geometry.euclidean.twod

## Class DiskGenerator

- java.lang.Object
- - org.apache.commons.math3.geometry.euclidean.twod.DiskGenerator

- All Implemented Interfaces:
    SupportBallGenerator<Euclidean2D,Vector2D>

      public class DiskGenerator
      extends Object
      implements SupportBallGenerator<Euclidean2D,Vector2D>

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DiskGenerator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `EnclosingBall<Euclidean2D,Vector2D>` | `ballOnSupport(List<Vector2D> 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

    - #### DiskGenerator

          public DiskGenerator()

  - ### Method Detail

    - #### ballOnSupport

          public EnclosingBall<Euclidean2D,Vector2D> ballOnSupport(List<Vector2D> support)

      Create a ball whose boundary lies on prescribed support points.
      Specified by:
        `ballOnSupport` in interface `SupportBallGenerator<Euclidean2D,Vector2D>`
      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.