Trait geo_types::CoordinateType
source · pub trait CoordinateType: Num + Copy + NumCast + PartialOrd { }
Expand description
The type of an x or y value of a point/coordinate.
Floats (f32
and f64
) and Integers (u8
, i32
etc.) implement this. Many algorithms only
make sense for Float types (like area, or length calculations).