Skip to main content

polyline_offset

Function polyline_offset 

Source
pub fn polyline_offset(polyline: &[Point2], distance: f64) -> Vec<Point2>
Expand description

Offset an open polyline by distance.

Returns the offset polyline. Positive distance = left side (for CCW).