Skip to main content

station_length2

Function station_length2 

Source
pub fn station_length2(curve: &Curve2) -> GeomResult<Option<Scalar>>
Expand description

The length a station on a 2D curve is measured against: None for a line (unbounded), one turn for a circle or an ellipse, the arc length of its domain for a polyline or a B-spline, the stated length of an intrinsic curve or a chain.

§Errors

Any other family, a chain without a valid length, and the quadrature’s refusals, by name.