Skip to main content

attach_pcurve

Function attach_pcurve 

Source
pub fn attach_pcurve(
    model: &mut Model,
    edge: &Shape,
    pcurve: PlanarCurve,
    surface: SurfaceId,
    location: Location,
    range: (f64, f64),
) -> OgeomResult<()>
Expand description

Attach a pcurve to an edge, describing it in a surface’s parameter space.

§Errors

OgeomError::Construction if edge is not an edge; OgeomError::Dangling if it does not resolve.