Package-level declarations

Types

Link copied to clipboard
class Circle(lat: Double, lon: Double, radiusMeters: Double) : LatLonGeometry

Represents a circle on the earth's surface.

Link copied to clipboard
interface Component2D

2D Geometry object that supports spatial relationships with bounding boxes, triangles and points.

Link copied to clipboard

reusable geopoint encoding methods

Link copied to clipboard
abstract class Geometry

Base class for LatLonGeometry and XYGeometry

Link copied to clipboard
object GeoUtils

Basic reusable geo-spatial utility methods

Link copied to clipboard

Lat/Lon Geometry object.

Link copied to clipboard

Represents a line on the earth's surface. You can construct the Line directly with double[] coordinates.

Link copied to clipboard
class Point(lat: Double, lon: Double) : LatLonGeometry

Represents a point on the earth's surface. You can construct the point directly with double coordinates.

Link copied to clipboard
class Polygon(polyLats: DoubleArray, polyLons: DoubleArray, holes: Polygon) : LatLonGeometry

Represents a closed polygon on the earth's surface. You can either construct the Polygon directly yourself with double[] coordinates, or use Polygon.fromGeoJSON if you have a polygon already encoded as a GeoJSON string.

Link copied to clipboard
class Rectangle(minLat: Double, maxLat: Double, minLon: Double, maxLon: Double) : LatLonGeometry

Represents a lat/lon rectangle.

Link copied to clipboard

Parses shape geometry represented in WKT format

Link copied to clipboard

Computes a triangular mesh tessellation for a given polygon.

Link copied to clipboard
class XYCircle(x: Float, y: Float, radius: Float) : XYGeometry

Represents a circle on the XY plane.

Link copied to clipboard

reusable cartesian geometry encoding methods

Link copied to clipboard
open class XYGeometry : Geometry

Cartesian Geometry object.

Link copied to clipboard

Represents a line in cartesian space. You can construct the Line directly with float[], float[] x, y arrays coordinates.

Link copied to clipboard
class XYPoint(x: Float, y: Float) : XYGeometry

Represents a point on the earth's surface. You can construct the point directly with double coordinates.

Link copied to clipboard

Represents a polygon in cartesian space. You can construct the Polygon directly with float[], float[] x, y arrays coordinates.

Link copied to clipboard
class XYRectangle(minX: Float, maxX: Float, minY: Float, maxY: Float) : XYGeometry

Represents a x/y cartesian rectangle.