Class Delaunator.idsComparator

  • All Implemented Interfaces:
    java.util.Comparator<java.lang.Integer>
    Enclosing class:
    Delaunator

    private class Delaunator.idsComparator
    extends java.lang.Object
    implements java.util.Comparator<java.lang.Integer>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Vector<java.lang.Double> coords  
      (package private) double cx  
      (package private) double cy  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private idsComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Integer Ii, java.lang.Integer Ij)  
      void setCoords​(java.util.Vector<java.lang.Double> coords)  
      void setCx​(double cx)  
      void setCy​(double cy)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Field Detail

      • coords

        java.util.Vector<java.lang.Double> coords
      • cx

        double cx
      • cy

        double cy
    • Constructor Detail

      • idsComparator

        private idsComparator()
    • Method Detail

      • compare

        public int compare​(java.lang.Integer Ii,
                           java.lang.Integer Ij)
        Specified by:
        compare in interface java.util.Comparator<java.lang.Integer>
      • setCoords

        public void setCoords​(java.util.Vector<java.lang.Double> coords)
      • setCx

        public void setCx​(double cx)
      • setCy

        public void setCy​(double cy)