Skip to main content

attach_seam

Function attach_seam 

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

Attach a seam representation to an edge: one pcurve per side of a closed surface’s join.

The counterpart of attach_pcurve for the edge that bounds one face twice: up one side of the parameter rectangle and down the other. Which pcurve applies to an occurrence is decided by that occurrence’s orientation, which is the only thing distinguishing the two.

§Errors

OgeomError::Construction if edge is not an edge; OgeomError::Dangling if it is not in this model.