igeo

## Class IVoronoi2D.RadialComparator

- java.lang.Object
- - igeo.IVoronoi2D.RadialComparator

- All Implemented Interfaces:
    IComparator<IVec2>
  Enclosing class:
    IVoronoi2D

      public static class IVoronoi2D.RadialComparator
      extends java.lang.Object
      implements IComparator<IVec2>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(package private) IVec2` | `center`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RadialComparator(IVec2 center)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(IVec2 v1, IVec2 v2)`

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

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

- - ### Field Detail

    - #### center

          IVec2 center

  - ### Constructor Detail

    - #### RadialComparator

          public RadialComparator(IVec2 center)

  - ### Method Detail

    - #### compare

          public int compare(IVec2 v1,
                             IVec2 v2)

      Specified by:
        `compare` in interface `IComparator<IVec2>`