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 classS2LaxPolylineShape.MultiArrayA multi polyline storing references to previously allocated S2Point instances.static classS2LaxPolylineShape.MultiPackedA multi polyline storing xyz coordinates in a single packed 'double' array.static classS2LaxPolylineShape.MultiSnappedA multi polyline storing cell IDs in a single 'long' array.static classS2LaxPolylineShape.SimpleArrayA polyline storing references to previously allocated S2Point instances.static classS2LaxPolylineShape.SimpleListstatic classS2LaxPolylineShape.SimplePackedA polyline storing xyz coordinates in a single packed 'double' array.static classS2LaxPolylineShape.SimpleSnappedA polyline storing cell IDs in a single 'long' array.Fields in com.google.common.geometry declared as S2LaxPolylineShape Modifier and Type Field Description static S2LaxPolylineShapeS2LaxPolylineShape. EMPTYA polyline with no edges.Methods in com.google.common.geometry that return S2LaxPolylineShape Modifier and Type Method Description static S2LaxPolylineShapeS2LaxPolylineShape. create(S2Polyline line)Creates a lax polyline from thelineby copying its data.static S2LaxPolylineShapeS2LaxPolylineShape. create(Iterable<S2Point> vertices)Creates 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[].S2LaxPolylineShapeS2LaxPolylineShape.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 S2LaxPolylineShape Modifier and Type Method Description voidS2LaxPolylineShape.Coder. encode(S2LaxPolylineShape shape, OutputStream output)static StringS2TextFormat. toString(S2LaxPolylineShape polyline)Convert an S2LaxPolylineShape to the S2TextFormat string representation documented above.
-