Class S2ShapeUtil.AreaMeasure

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double area  
    • Constructor Summary

      Constructors 
      Constructor Description
      AreaMeasure()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(S2Point a, S2Point b, S2Point c)  
      double value​(int numVertices, com.google.common.base.Supplier<java.lang.Boolean> isNormalized)
      Returns the area.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • area

        private double area
    • Constructor Detail

      • AreaMeasure

        public AreaMeasure()
    • Method Detail

      • value

        public double value​(int numVertices,
                            com.google.common.base.Supplier<java.lang.Boolean> isNormalized)
        Returns the area. Only call after all triangles have been consumed.