pub trait Length: Sized {
// Required method
fn length(&self) -> GeopResult<(Scalar, bool)>;
}Expand description
A curve with a length: in space, or in a plane.
Required Methods§
Sourcefn length(&self) -> GeopResult<(Scalar, bool)>
fn length(&self) -> GeopResult<(Scalar, bool)>
Its length, ∫ |C'(t)| dt over its domain, enclosed (see
NurbCurve::integrated), and whether the quadrature converged.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".