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
Geometrytypes. - Line
- A line segment made up of exactly two
Coords. - Line
String - An ordered collection of
Coords, representing a path between locations. To be valid, aLineStringmust be empty, or have two or more coords. - Multi
Line String - A collection of
LineStrings. Can be created from aVecofLineStrings or from an Iterator which yieldsLineStrings. Iterating over this object yields the componentLineStrings. - Multi
Point - A collection of
Points. Can be created from aVecofPoints, or from an Iterator which yieldsPoints. Iterating over this object yields the componentPoints. - Multi
Polygon - A collection of
Polygons. Can be created from aVecofPolygons, or from an Iterator which yieldsPolygons. Iterating over this object yields the componentPolygons. - 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
Coords. - Triangle
- A bounded 2D area whose three vertices are defined by
Coords. 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