Uses of Interface
com.google.common.geometry.S2LaxPolylineShape
-
-
Uses of S2LaxPolylineShape in com.google.common.geometry
Classes in com.google.common.geometry that implement S2LaxPolylineShape Modifier and Type Class Description static class
S2LaxPolylineShape.MultiArray
A multi polyline storing references to previously allocated S2Point instances.static class
S2LaxPolylineShape.MultiPacked
A multi polyline storing xyz coordinates in a single packed 'double' array.static class
S2LaxPolylineShape.MultiSnapped
A multi polyline storing cell IDs in a single 'long' array.static class
S2LaxPolylineShape.SimpleArray
A polyline storing references to previously allocated S2Point instances.static class
S2LaxPolylineShape.SimpleList
A polyline storingS2Point
s in aList
.static class
S2LaxPolylineShape.SimplePacked
A polyline storing xyz coordinates in a single packed 'double' array.static class
S2LaxPolylineShape.SimpleSnapped
A polyline storing cell IDs in a single 'long' array.Fields in com.google.common.geometry declared as S2LaxPolylineShape Modifier and Type Field Description static S2LaxPolylineShape
S2LaxPolylineShape. EMPTY
A polyline with no edges.Fields in com.google.common.geometry with type parameters of type S2LaxPolylineShape Modifier and Type Field Description private static com.google.common.collect.ImmutableList<java.lang.Class<? extends S2LaxPolylineShape>>
S2TaggedShapeCoder. LAX_POLYLINE_SHAPE_CLASSES
Methods in com.google.common.geometry that return S2LaxPolylineShape Modifier and Type Method Description static S2LaxPolylineShape
S2LaxPolylineShape. create(S2Polyline line)
Creates a lax polyline from theline
by copying its data.static S2LaxPolylineShape
S2LaxPolylineShape. create(java.lang.Iterable<S2Point> vertices)
Creates a new lax polyline from the given vertices.static S2LaxPolylineShape
S2LaxPolylineShape. createMulti(java.lang.Iterable<? extends java.lang.Iterable<S2Point>> lines)
Creates a new lax multipolyline with the given lines.static S2LaxPolylineShape
S2LaxPolylineShape. createMultiPacked(java.lang.Iterable<? extends java.lang.Iterable<S2Point>> lines)
Ascreate(com.google.common.geometry.S2Polyline)
, but with coordinates packed into a double[].static S2LaxPolylineShape
S2LaxPolylineShape. createMultiSnapped(java.lang.Iterable<? extends java.lang.Iterable<S2CellId>> lines)
Ascreate(com.google.common.geometry.S2Polyline)
, but with vertices at the center of cell IDs, packed into a long[].static S2LaxPolylineShape
S2LaxPolylineShape. createPacked(java.lang.Iterable<S2Point> vertices)
Ascreate(com.google.common.geometry.S2Polyline)
, but with coordinates packed into a double[].static S2LaxPolylineShape
S2LaxPolylineShape. createSnapped(java.lang.Iterable<S2CellId> vertices)
Ascreate(com.google.common.geometry.S2Polyline)
, but with vertices at the center of cell IDs, packed into a long[].S2LaxPolylineShape
S2LaxPolylineShape.Coder. decode(PrimitiveArrays.Bytes data, PrimitiveArrays.Cursor cursor)
static S2LaxPolylineShape
S2TextFormat. makeLaxPolyline(java.lang.String str)
As above, but does not CHECK-fail on invalid input.static S2LaxPolylineShape
S2TextFormat. makeLaxPolylineOrDie(java.lang.String str)
Like makePolyline, but returns an S2LaxPolylineShape instead.Methods in com.google.common.geometry with parameters of type S2LaxPolylineShape Modifier and Type Method Description void
S2LaxPolylineShape.Coder. encode(S2LaxPolylineShape shape, java.io.OutputStream output)
static java.lang.String
S2TextFormat. toString(S2LaxPolylineShape polyline)
Convert an S2LaxPolylineShape to the S2TextFormat string representation documented above.
-