Expand description
All geometry types and structs
Modules§
- bbox
- BBox and BBox3D shapes and utilities
- impls
- Impls that we want to hide to make the code more readable
- interpolate
- Interpolation tools
- primitive
- Primitive geometry types (used by GeoJSON spec)
- vector
- Vector geometry types (used by the s2json spec for both WGS84 and S2Geometry)
- vector_
point - The VectorPoint struct is a powerful tool for 2D and 3D points
Structs§
- BBox
- Bounding Box
- BBox3D
- 3D Bounding Box
- Base
Geometry - BaseGeometry is the a generic geometry type
- Point
- Definition of a Point. May represent WebMercator Lon-Lat or S2Geometry S-T
- Point3D
- Definition of a 3D Point. May represent WebMercator Lon-Lat or S2Geometry S-T with a z-value
- Point
OrPoint3D - Define a Point or Point3D
- STPoint
- A Point in S2 Space with a Face
- Vector
Base Geometry - BaseGeometry is the a generic geometry type
- Vector
Point - Vector Points
Enums§
- Axis
- The axis to apply an operation to
- BBOX
- BBox or BBox3D
- Geometry
- All possible geometry shapes
- Geometry
Type - Enum to represent specific geometry types as strings
- Vector
Geometry - Vector Geometry
- Vector
Geometry Type - Enum to represent specific vector geometry types as strings
- Vector
Offsets - All possible geometry offsets
Traits§
- Bounded
- Trait for types that have a min and max value. Used by
BBoxandBBox3D - FullXY
- Composite Trait for XY use cases
- FullXYM
- Composite Trait for XYM use cases
- FullXYZ
- Composite Trait for XYZ use cases
- FullXYZM
- Composite Trait for XYZM use cases
- GetM
- Trait to extract the m value
- GetXY
- Trait to extract the x and y values
- GetXYM
- Composite Trait: XY + M
- GetXYZ
- Composite Trait: XY + Z
- GetXYZM
- Composite Trait: XY + Z + M
- GetZ
- Trait to extract the z value
- Interpolate
- Easy access to interpolation tooling for All S2JSON Core Types
- NewXY
- Trait to create a new XY
- NewXYM
- Trait to create a new XY
- NewXYZ
- Trait to create a new XYZ
- NewXYZM
- Trait to create a new XYZM
- SetM
- Trait to set the m value
- SetXY
- Trait to set the x and y values
- SetXYM
- Composite Trait: XY + M
- SetXYZ
- Composite Trait: XY + Z
- SetXYZM
- Composite Trait: XY + Z + M
- SetZ
- Trait to set the z value
Type Aliases§
- Line
String - Definition of a LineString
- Line
String3D - Definition of a 3D LineString
- Line
String3D Geometry - LineString3DGeometry is a 3D line
- Line
String Geometry - LineStringGeometry is a line
- Multi
Line String - Definition of a MultiLineString
- Multi
Line String3D - Definition of a 3D MultiLineString
- Multi
Line String3D Geometry - MultiLineString3DGeometry contains multiple 3D lines
- Multi
Line String Geometry - MultiLineStringGeometry contains multiple lines
- Multi
Point - Definition of a MultiPoint
- Multi
Point3D - Definition of a 3D MultiPoint
- Multi
Point3D Geometry - MultiPoint3DGeometry contains multiple 3D points
- Multi
Point Geometry - MultiPointGeometry contains multiple points
- Multi
Polygon - Definition of a MultiPolygon
- Multi
Polygon3D - Definition of a 3D MultiPolygon
- Multi
Polygon3D Geometry - MultiPolygon3DGeometry is a 3D polygon with multiple polygons with their own potential holes
- Multi
Polygon Geometry - MultiPolygonGeometry is a polygon with multiple polygons with their own potential holes
- Point3D
Geometry - Point3DGeometry is a 3D point
- Point
Geometry - PointGeometry is a point
- Polygon
- Definition of a Polygon
- Polygon3D
- Definition of a 3D Polygon
- Polygon3D
Geometry - Polygon3DGeometry is a 3D polygon with potential holes
- Polygon
Geometry - PolygonGeometry is a polygon with potential holes
- Vector
Line Offset - An offset defines how far the starting line is from the original starting point pre-slice
- Vector
Line String - Definition of a Vector LineString
- Vector
Line String Geometry - LineStringGeometry is a line
- Vector
Multi Line Offset - A collection of offsets
- Vector
Multi Line String - Definition of a Vector MultiLineString
- Vector
Multi Line String Geometry - MultiLineStringGeometry contains multiple lines
- Vector
Multi Point - Definition of a Vector MultiPoint
- Vector
Multi Point Geometry - MultiPointGeometry contains multiple points
- Vector
Multi Polygon - Definition of a Vector MultiPolygon
- Vector
Multi Polygon Geometry - MultiPolygonGeometry is a polygon with multiple polygons with their own potential holes
- Vector
Multi Polygon Offset - A collection of collections of offsets
- Vector
Point Geometry - PointGeometry is a point
- Vector
Polygon - Definition of a Vector Polygon
- Vector
Polygon Geometry - PolygonGeometry is a polygon with potential holes
- Vector
Polygon Offset - A collection of offsets