Uses of Interface
com.google.common.geometry.S2LaxPolylineShape
-
Uses of S2LaxPolylineShape in com.google.common.geometry
Classes in com.google.common.geometry that implement S2LaxPolylineShapeModifier and TypeClassDescriptionstatic class
A multi polyline storing references to previously allocated S2Point instances.static class
A multi polyline storing xyz coordinates in a single packed 'double' array.static class
A multi polyline storing cell IDs in a single 'long' array.static class
A polyline storing references to previously allocated S2Point instances.static class
static class
A polyline storing xyz coordinates in a single packed 'double' array.static class
A polyline storing cell IDs in a single 'long' array.Fields in com.google.common.geometry declared as S2LaxPolylineShapeModifier and TypeFieldDescriptionstatic final S2LaxPolylineShape
S2LaxPolylineShape.EMPTY
A polyline with no edges.Fields in com.google.common.geometry with type parameters of type S2LaxPolylineShapeModifier and TypeFieldDescriptionprivate static final com.google.common.collect.ImmutableList
<Class<? extends S2LaxPolylineShape>> S2TaggedShapeCoder.LAX_POLYLINE_SHAPE_CLASSES
Methods in com.google.common.geometry that return S2LaxPolylineShapeModifier and TypeMethodDescriptionstatic S2LaxPolylineShape
S2LaxPolylineShape.create
(S2Polyline line) Creates a lax polyline from theline
by copying its data.static S2LaxPolylineShape
Creates a new lax polyline from the given vertices.static S2LaxPolylineShape
S2LaxPolylineShape.createMulti
(Iterable<? extends Iterable<S2Point>> lines) Creates a new lax multipolyline with the given lines.static S2LaxPolylineShape
S2LaxPolylineShape.createMultiPacked
(Iterable<? extends Iterable<S2Point>> lines) Ascreate(com.google.common.geometry.S2Polyline)
, but with coordinates packed into a double[].static S2LaxPolylineShape
S2LaxPolylineShape.createMultiSnapped
(Iterable<? extends 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
(Iterable<S2Point> vertices) Ascreate(com.google.common.geometry.S2Polyline)
, but with coordinates packed into a double[].static S2LaxPolylineShape
S2LaxPolylineShape.createSnapped
(Iterable<S2CellId> vertices) Ascreate(com.google.common.geometry.S2Polyline)
, but with vertices at the center of cell IDs, packed into a long[].S2LaxPolylineShape.Coder.decode
(PrimitiveArrays.Bytes data, PrimitiveArrays.Cursor cursor) static S2LaxPolylineShape
S2TextFormat.makeLaxPolyline
(String str) As above, but does not CHECK-fail on invalid input.static S2LaxPolylineShape
S2TextFormat.makeLaxPolylineOrDie
(String str) Like makePolyline, but returns an S2LaxPolylineShape instead.Methods in com.google.common.geometry with parameters of type S2LaxPolylineShapeModifier and TypeMethodDescriptionvoid
S2LaxPolylineShape.Coder.encode
(S2LaxPolylineShape shape, OutputStream output) static String
S2TextFormat.toString
(S2LaxPolylineShape polyline) Convert an S2LaxPolylineShape to the S2TextFormat string representation documented above.