Expand description

Extensions/Traits for geo_types geometry. Also includes some helper functions for working with Nannou and geo_types.

Modules

Boolean ops for geo_types
Trait to buffer various geo_types geometries. Basically a helper built on the geo utilities
Trait to clip geometry by another geometry. Useful for clipping lines behind another object to emulate 3D without the… 3D?
Helper to flatten all the polygons from a Geometry into a MultiPolygon
Crosshatching! You can fill your polys with lines, which is really useful for plotters, because all you can draw is lines (or dots if you’re a monster).
Affine Transformations
Helper module for converting geo-types geometry into something useful in Nannou.
Various shapes
Trait to convert geometry into an SVG object (or specifically, SVG components)

Traits

Trait that implements a distance function between two geo_types::Point structs. Also includes a length function which returns the length of a geo_types::Point as if it were a Vector.