Class S2LaxPolygonShape.MultiArray

    • Method Detail

      • numVertices

        public int numVertices()
        Description copied from interface: com.google.common.geometry.S2ShapeAspect.VertexAspect
        Returns the number of vertices. May be different from S2Shape.numEdges().
      • vertex

        public S2Point vertex​(int index)
        Description copied from interface: com.google.common.geometry.S2ShapeAspect.VertexAspect
        Returns a vertex of this shape, from 0 (inclusive) to S2ShapeAspect.VertexAspect.numVertices() (exclusive).