Categorygithub.com/ctessum/geom
modulepackage
0.2.12
Repository: https://github.com/ctessum/geom.git
Documentation: pkg.go.dev

# Packages

Package carto is a Go language map drawing library.
No description provided by the author
No description provided by the author
Package op provides implementation of algorithms for geometry operations.
No description provided by the author
Package route finds the shortest route between two points along a geometrical network (e.g., a road network).
No description provided by the author

# Functions

NewBounds initializes a new bounds object.
NewBoundsPoint creates a bounds object from a point.
NewPoint returns a new point with coordinates x and y.

# Constants

WithinStatus gives the status of a point relative to a polygon: whether it is inside, outside, or on the edge.
WithinStatus gives the status of a point relative to a polygon: whether it is inside, outside, or on the edge.
WithinStatus gives the status of a point relative to a polygon: whether it is inside, outside, or on the edge.

# Structs

Bounds holds the spatial extent of a geometry.
Point is a holder for 2D coordinates X and Y.

# Interfaces

Geom is an interface for generic geometry types.
Linear is an interface for types that are linear in nature.
PointLike is an interface for types that are pointlike in nature.
Polygonal is an interface for types that are polygonal in nature.
Simplifier is an interface for types that can be simplified.
Withiner is an interface for types that can be determined to be within a polygon or not.

# Type aliases

GeometryCollection is a holder for multiple related geometry objects of arbitrary type.
LineString is a number of points that make up a path or line.
MultiLineString is a holder for multiple related LineStrings.
MultiPoint is a holder for multiple related points.
MultiPolygon is a holder for multiple related polygons.
A Path is a series of connected points.
A Polygon is a series of closed rings.
WithinStatus gives the status of a point relative to a polygon: whether it is inside, outside, or on the edge.