Skip to main content

embed_curve

Function embed_curve 

Source
pub fn embed_curve<S: Scalar>(
    curve: &NurbCurve2D<S>,
    origin: &Vector3<S>,
    e1: &Vector3<S>,
    e2: &Vector3<S>,
) -> GeopResult<NurbCurve3D<S>>
Expand description

The planar 3-D curve origin + x e1 + y e2 for (x, y) along curve. An affine map of the control points, so it is exact for any NURBS.