Skip to main content

Length

Trait Length 

Source
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§

Source

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".

Implementors§