package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

ShapeDistance returns the distance between two given shapes.

# Structs

Edge is a struct that represents a connection between two points.
Point is a union of the point types used in geometry and geography representation.

# Interfaces

DistanceCalculator contains calculations which allow ShapeDistance to calculate the distance between two shapes.
DistanceUpdater is a provided hook that has a series of functions that allows the caller to maintain the distance value desired.
EdgeCrosser is a provided hook that calculates whether edges intersect.
LinearRing is an interface that represents a geospatial LinearRing.
LineString is an interface that represents a geospatial LineString.
Polygon is an interface that represents a geospatial Polygon.
Shape is an interface that represents any Geospatial shape.