geo-offset
This crate contains algorithms to shrink and dilate various geometric shapes.
This code is a Rust port of the JS lib polygon-offset.
Example
The following example shows how to compute an inflated line.
The offset
method is provided by the Offset
trait which is implemented for most geo-types.
use ;
use Offset;
let line = new;
let line_with_offset = line.offset?;