Trait geom3d::surface::Surface[][src]

pub trait Surface: Debug {
    fn get_point(&self, u: Float, v: Float) -> Point3;

    fn trim(&self, _edges: &[CurveSegment<Box<dyn Curve>>]) -> TriangleMesh { ... }
}
Expand description

Parametric surface

Required methods

Get a point on the surface with parameters (u,v)

Provided methods

Trim the surface with an edge loop

Implementations on Foreign Types

Implementors

3D BSpline Surface

Rational BSpline Surface, point (x,y,z) with weight w is (wx,wy,wz,w)

Rational bezier surface, point (x,y,z) with weight w is (wx,wy,wz,w)