Skip to main content

DefaultLengthStrategy

Type Alias DefaultLengthStrategy 

Source
pub type DefaultLengthStrategy<G> = <<<<G as Geometry>::Point as Point>::Cs as CoordinateSystem>::Family as DefaultLength<<<<G as Geometry>::Point as Point>::Cs as CoordinateSystem>::Family>>::Strategy;
Expand description

Type alias resolving the default length strategy for geometry G by walking G -> G::Point -> Cs -> Family -> DefaultLength::Strategy.

Mirrors DefaultDistanceStrategy for the length algorithm; the free-function length(g) monomorphises against this at the call site.