Package com.google.common.geometry
Class S2LaxPolylineShape.SimpleList
java.lang.Object
com.google.common.geometry.S2ShapeAspect.ChainAspect.Simple
com.google.common.geometry.S2LaxPolylineShape.SimpleList
- All Implemented Interfaces:
S2LaxPolylineShape,S2Shape,S2ShapeAspect.ChainAspect,S2ShapeAspect.EdgeAspect,S2ShapeAspect.EdgeAspect.Open,S2ShapeAspect.Mixed,S2ShapeAspect.TopoAspect,S2ShapeAspect.VertexAspect
- Enclosing interface:
S2LaxPolylineShape
public static class S2LaxPolylineShape.SimpleList
extends S2ShapeAspect.ChainAspect.Simple
implements S2LaxPolylineShape
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.geometry.S2ShapeAspect.ChainAspect.Simple
S2ShapeAspect.ChainAspect.Simple.Array, S2ShapeAspect.ChainAspect.Simple.Packed, S2ShapeAspect.ChainAspect.Simple.SnappedNested classes/interfaces inherited from interface com.google.common.geometry.S2LaxPolylineShape
S2LaxPolylineShape.Coder, S2LaxPolylineShape.MultiArray, S2LaxPolylineShape.MultiPacked, S2LaxPolylineShape.MultiSnapped, S2LaxPolylineShape.SimpleArray, S2LaxPolylineShape.SimpleList, S2LaxPolylineShape.SimplePacked, S2LaxPolylineShape.SimpleSnappedNested classes/interfaces inherited from interface com.google.common.geometry.S2Shape
S2Shape.MutableEdge, S2Shape.ReferencePointNested classes/interfaces inherited from interface com.google.common.geometry.S2ShapeAspect.ChainAspect
S2ShapeAspect.ChainAspect.Multi, S2ShapeAspect.ChainAspect.SimpleNested classes/interfaces inherited from interface com.google.common.geometry.S2ShapeAspect.EdgeAspect
S2ShapeAspect.EdgeAspect.Closed, S2ShapeAspect.EdgeAspect.Open -
Field Summary
FieldsFields inherited from interface com.google.common.geometry.S2LaxPolylineShape
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of vertices.vertex(int vertexId) Returns a vertex of this shape, from 0 (inclusive) toS2ShapeAspect.VertexAspect.numVertices()(exclusive).Methods inherited from class com.google.common.geometry.S2ShapeAspect.ChainAspect.Simple
chainId, edgeId, getChainLength, getChainStart, numChainsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.geometry.S2LaxPolylineShape
containsOrigin, dimension, hasInterior, isEmpty, isFull, numEdges, readResolveMethods inherited from interface com.google.common.geometry.S2Shape
chain, chains, getChainLength, getChainStart, getReferencePoint, numChainsMethods inherited from interface com.google.common.geometry.S2ShapeAspect.ChainAspect
chainId, edgeId, getChainLength, getChainStart, numChainsMethods inherited from interface com.google.common.geometry.S2ShapeAspect.EdgeAspect
getChainEdge, getChainVertex, getEdge, numEdgesMethods inherited from interface com.google.common.geometry.S2ShapeAspect.EdgeAspect.Open
adjustChains, getChainEdge, getChainVertex, getEdge, vertexIdMethods inherited from interface com.google.common.geometry.S2ShapeAspect.TopoAspect
containsOrigin, dimension, hasInteriorMethods inherited from interface com.google.common.geometry.S2ShapeAspect.VertexAspect
vertices
-
Field Details
-
vertices
-
-
Constructor Details
-
SimpleList
-
-
Method Details
-
numVertices
public int numVertices()Description copied from interface:S2ShapeAspect.VertexAspectReturns the number of vertices. May be different fromS2Shape.numEdges().- Specified by:
numVerticesin interfaceS2ShapeAspect.VertexAspect
-
vertex
Description copied from interface:S2ShapeAspect.VertexAspectReturns a vertex of this shape, from 0 (inclusive) toS2ShapeAspect.VertexAspect.numVertices()(exclusive).- Specified by:
vertexin interfaceS2ShapeAspect.VertexAspect
-