BuildSurface

Trait BuildSurface 

Source
pub trait BuildSurface {
    // Provided methods
    fn plane_from_points(
        points: [impl Into<Point<3>>; 3],
        core: &mut Core,
    ) -> (Handle<Surface>, [Point<2>; 3]) { ... }
    fn surface_from_uv(
        u: impl Into<GlobalPath>,
        v: impl Into<Vector<3>>,
        core: &mut Core,
    ) -> Handle<Surface> { ... }
}
Expand description

Build a Surface

See module-level documentation for context.

Provided Methods§

Source

fn plane_from_points( points: [impl Into<Point<3>>; 3], core: &mut Core, ) -> (Handle<Surface>, [Point<2>; 3])

Build a plane from the provided points

Source

fn surface_from_uv( u: impl Into<GlobalPath>, v: impl Into<Vector<3>>, core: &mut Core, ) -> Handle<Surface>

Build a plane from the provided u and v

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§