Uses of Class
com.google.common.geometry.S2AreaCentroid
-
Uses of S2AreaCentroid in com.google.common.geometry
Methods in com.google.common.geometry that return S2AreaCentroidModifier and TypeMethodDescriptionS2Loop.getAreaAndCentroid()
Returns a pair ofS2Loop.getArea()
andS2Loop.getCentroid()
, computed more efficiently than computing them separately.S2Polygon.getAreaAndCentroid()
Returns the area of the polygon interior, i.e.private S2AreaCentroid
S2Polygon.getAreaCentroid
(boolean doCentroid) S2ShapeUtil.AreaCentroidMeasure.value
(int numVertices, com.google.common.base.Supplier<Boolean> isNormalized) Returns the area and centroid.