Module geometry

Source
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