Expand description
All geometry types and structs
Re-exports§
- pub use bbox::*;
- pub use primitive::*;
- pub use vector::*;
- pub use vector_point::*;
Modules§
- bbox
- BBox and BBox3D shapes and utilities
- impls
- Impls that we want to hide to make the code more readable
- 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§
- STPoint
- A Point in S2 Space with a Face
Enums§
- Axis
- The axis to apply an operation to
Traits§
- 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
- NewXY
- 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