pub trait Faces {
// Required methods
fn surface(&self, part: Part) -> Result<NurbsSurface, String>;
fn outward(&self, part: Part, at: Vec3) -> Vec3;
fn lift(&self, chart: Vec3) -> Vec3;
}Expand description
The surfaces a plan’s parts lie on: each part’s surface, which way is out of the stock at a point of it, and a chart point (x, y, height) lifted into space.
Required Methods§
fn surface(&self, part: Part) -> Result<NurbsSurface, String>
fn outward(&self, part: Part, at: Vec3) -> Vec3
fn lift(&self, chart: Vec3) -> Vec3
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".