Package-level declarations

Functions

Link copied to clipboard
fun Iterable<Geometry>.computeBounds(): Envelope

Computes the bounding envelope for a collection of geometries.

Link copied to clipboard
fun Geometry.reflectX(): Geometry

Reflects the geometry across the X axis, inverting its horizontal position.

Link copied to clipboard
fun Geometry.reflectY(): Geometry

Reflects the geometry across the Y axis, inverting its vertical position.

Link copied to clipboard
fun Geometry.rotate(angleRadians: Double): Geometry

Rotates the geometry around its center by the specified angle in radians.

Link copied to clipboard
fun Geometry.scaleAroundCenter(factor: Double): Geometry

Scales the geometry around its center using the same scaling factor for both axes.

fun Geometry.scaleAroundCenter(xFactor: Double, yFactor: Double): Geometry

Scales the geometry around its center using different scaling factors for the X and Y axes.

Link copied to clipboard
fun LineString.toMultiLineString(): MultiLineString

Converts a LineString to a MultiLineString by wrapping it in a MultiLineString.

Link copied to clipboard
fun Point.toMultiPoint(): MultiPoint

Converts a Point to a MultiPoint by wrapping it in a MultiPoint.

Link copied to clipboard
fun Polygon.toMultiPolygon(): MultiPolygon

Converts a Polygon to a MultiPolygon by wrapping it in a MultiPolygon.

Link copied to clipboard
fun Geometry.translate(valueX: Double, valueY: Double): Geometry

Translates (moves) the geometry by the specified distances along the X and Y axes.