Skip to main content

ChainCurve

Trait ChainCurve 

Source
pub trait ChainCurve: Clone {
    type Point;

    // Required methods
    fn start(&self) -> GeopResult<Self::Point>;
    fn end(&self) -> GeopResult<Self::Point>;
}
Expand description

A curve a Chain is made of: a clamped NURBS curve, in a plane or in space, which starts at its first control point and ends at its last (see NurbCurve::start).

Required Associated Types§

Required Methods§

Source

fn start(&self) -> GeopResult<Self::Point>

The point the curve starts at.

Source

fn end(&self) -> GeopResult<Self::Point>

The point the curve ends at.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ChainCurve for NurbCurve2D

Source§

impl ChainCurve for NurbCurve3D

Implementors§