Skip to main content

StripGeometry

Trait StripGeometry 

Source
pub trait StripGeometry {
    // Required methods
    fn joint(&self, s: usize, i: usize) -> GeopResult<Vector3>;
    fn curve(&self, s: usize, i: usize) -> GeopResult<NurbCurve3D>;
    fn lateral(&self, j: usize, i: usize) -> GeopResult<NurbCurve3D>;
    fn wall(&self, j: usize, i: usize) -> GeopResult<NurbSurface3D>;
}
Expand description

Where a strip’s entities are: its joints, curves, laterals and walls, by station s, span j, joint or curve i.

Required Methods§

Source

fn joint(&self, s: usize, i: usize) -> GeopResult<Vector3>

Joint i at station s.

Source

fn curve(&self, s: usize, i: usize) -> GeopResult<NurbCurve3D>

Curve i at station s, from joint i to the next.

Source

fn lateral(&self, j: usize, i: usize) -> GeopResult<NurbCurve3D>

The path of joint i through span j, from its first station to its last.

Source

fn wall(&self, j: usize, i: usize) -> GeopResult<NurbSurface3D>

The wall curve i sweeps through span j: u along the span, v along the curve, both over [0, 1].

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§