pub trait CoordNum: CoordinateType + Debug { }
Expand description
For algorithms which can use both integer and floating point Point
s/Coordinate
s
Floats (f32
and f64
) and Integers (u8
, i32
etc.) implement this.
For algorithms which only make sense for floating point, like area or length calculations, see CoordFloat.