Function center_line_contour

Source
pub fn center_line_contour(
    profile: &CenterLineProfile,
    tolerance: Tolerance,
) -> Result<ContourProfile, GeomError>
Expand description

Resolve a centre-line profile into an exact closed contour.

The boundary is the left offset walked forward, a butt end cap, the right offset walked back, and a butt start cap. Butt caps are used because the source states a width and an extent, not an end treatment: a round or square cap would add material the author never declared.