Package com.google.common.geometry
Class S2ShapeUtil.CentroidMeasure
- java.lang.Object
-
- com.google.common.geometry.S2ShapeUtil.CentroidMeasure
-
- All Implemented Interfaces:
S2ShapeUtil.TriangleConsumer
- Enclosing class:
- S2ShapeUtil
public static final class S2ShapeUtil.CentroidMeasure extends Object implements S2ShapeUtil.TriangleConsumer
A collector of the center of mass.
-
-
Constructor Summary
Constructors Constructor Description CentroidMeasure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(S2Point a, S2Point b, S2Point c)S2Pointvalue()Returns the centroid.
-