Expand description
This module makes all geometry types available
Structs§
- Coord
- A lightweight struct used to store coordinates on the 2-dimensional Cartesian plane.
- Geometry
Collection - A collection of
Geometry
types. - Line
- A line segment made up of exactly two
Coord
s. - Line
String - An ordered collection of
Coord
s, representing a path between locations. To be valid, aLineString
must be empty, or have two or more coords. - Multi
Line String - A collection of
LineString
s. Can be created from aVec
ofLineString
s or from an Iterator which yieldsLineString
s. Iterating over this object yields the componentLineString
s. - Multi
Point - A collection of
Point
s. Can be created from aVec
ofPoint
s, or from an Iterator which yieldsPoint
s. Iterating over this object yields the componentPoint
s. - Multi
Polygon - A collection of
Polygon
s. Can be created from aVec
ofPolygon
s, or from an Iterator which yieldsPolygon
s. Iterating over this object yields the componentPolygon
s. - Point
- A single point in 2D space.
- Polygon
- A bounded two-dimensional area.
- Rect
- An axis-aligned bounded 2D rectangle whose area is
defined by minimum and maximum
Coord
s. - Triangle
- A bounded 2D area whose three vertices are defined by
Coord
s. The semantics and validity are that of the equivalentPolygon
; in addition, the three vertices must not be collinear and they must be distinct.
Enums§
- Geometry
- An enum representing any possible geometry type.
Type Aliases§
- Coordinate
Deprecated