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 classA multi polyline storing references to previously allocated S2Point instances.static classA multi polyline storing xyz coordinates in a single packed 'double' array.static classA multi polyline storing cell IDs in a single 'long' array.static classA polyline storing references to previously allocated S2Point instances.static classstatic classA polyline storing xyz coordinates in a single packed 'double' array.static classA polyline storing cell IDs in a single 'long' array.Fields in com.google.common.geometry declared as S2LaxPolylineShapeModifier and TypeFieldDescriptionstatic final S2LaxPolylineShapeS2LaxPolylineShape.EMPTYA 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_CLASSESMethods in com.google.common.geometry that return S2LaxPolylineShapeModifier and TypeMethodDescriptionstatic S2LaxPolylineShapeS2LaxPolylineShape.create(S2Polyline line) Creates a lax polyline from thelineby copying its data.static S2LaxPolylineShapeCreates a new lax polyline from the given vertices.static S2LaxPolylineShapeS2LaxPolylineShape.createMulti(Iterable<? extends Iterable<S2Point>> lines) Creates a new lax multipolyline with the given lines.static S2LaxPolylineShapeS2LaxPolylineShape.createMultiPacked(Iterable<? extends Iterable<S2Point>> lines) Ascreate(com.google.common.geometry.S2Polyline), but with coordinates packed into a double[].static S2LaxPolylineShapeS2LaxPolylineShape.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 S2LaxPolylineShapeS2LaxPolylineShape.createPacked(Iterable<S2Point> vertices) Ascreate(com.google.common.geometry.S2Polyline), but with coordinates packed into a double[].static S2LaxPolylineShapeS2LaxPolylineShape.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 S2LaxPolylineShapeS2TextFormat.makeLaxPolyline(String str) As above, but does not CHECK-fail on invalid input.static S2LaxPolylineShapeS2TextFormat.makeLaxPolylineOrDie(String str) Like makePolyline, but returns an S2LaxPolylineShape instead.Methods in com.google.common.geometry with parameters of type S2LaxPolylineShapeModifier and TypeMethodDescriptionvoidS2LaxPolylineShape.Coder.encode(S2LaxPolylineShape shape, OutputStream output) static StringS2TextFormat.toString(S2LaxPolylineShape polyline) Convert an S2LaxPolylineShape to the S2TextFormat string representation documented above.