TransformVectorGeometry

Trait TransformVectorGeometry 

Source
pub trait TransformVectorGeometry<M: Clone + Default = MValue> {
    // Required method
    fn transform(&mut self, zoom: f64, ti: f64, tj: f64);
}
Expand description

A trait for transforming a geometry from the 0->1 coordinate system to a tile coordinate system

Required Methods§

Source

fn transform(&mut self, zoom: f64, ti: f64, tj: f64)

Transform the geometry from the 0->1 coordinate system to a tile coordinate system

Implementations on Foreign Types§

Source§

impl<M: Clone + Default> TransformVectorGeometry<M> for VectorGeometry<M>

Source§

fn transform(&mut self, zoom: f64, ti: f64, tj: f64)

Transform the geometry from the 0->1 coordinate system to a tile coordinate system

Source§

impl<M: Clone + Default> TransformVectorGeometry<M> for VectorPoint<M>

Source§

fn transform(&mut self, zoom: f64, ti: f64, tj: f64)

Transform the point from the 0->1 coordinate system to a tile coordinate system

Implementors§