Skip to main content

buffer_points

Function buffer_points 

Source
pub fn buffer_points(points: &[(i32, i32)], opts: &BufferOpts) -> Vec<Polygon>
Expand description

Emit a regular n-gon approximating a disk of radius distance.abs() per input point. Segment count is derived from BufferJoin::Round’s max_segment_angle_rad; other joins default to 32 segments.