pub trait GeozeroGeometry {
    // Required method
    fn process_geom<P>(&self, processor: &mut P) -> Result<(), GeozeroError>
       where P: GeomProcessor,
             Self: Sized;

    // Provided methods
    fn dims(&self) -> CoordDimensions { ... }
    fn srid(&self) -> Option<i32> { ... }
}
Expand description

Geometry processing trait.

Required Methods§

source

fn process_geom<P>(&self, processor: &mut P) -> Result<(), GeozeroError>
where P: GeomProcessor, Self: Sized,

Process geometry.

Provided Methods§

source

fn dims(&self) -> CoordDimensions

Dimensions of geometry

source

fn srid(&self) -> Option<i32>

SRID of geometry

Implementors§