Expand description
Extensions/Traits for geo_types geometry. Also includes some helper functions for working with Nannou and geo_types.
Modules§
- boolean
- Boolean ops for geo_types
- buffer
- Trait to buffer various geo_types geometries. Basically a helper built on the geo utilities
- clip
- Trait to clip geometry by another geometry. Useful for clipping lines behind another object to emulate 3D without the… 3D?
- flatten
- Helper to flatten all the polygons from a Geometry into a MultiPolygon
- hatch
- 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).
- matrix
- Affine Transformations
- nannou
- Helper module for converting geo-types geometry into something useful in Nannou.
- shapes
- Various shapes
- svg
- Trait to convert geometry into an SVG object (or specifically, SVG components)
Traits§
- Point
Distance - Trait that implements a distance function between two
geo_types::Point
structs. Also includes a length function which returns the length of ageo_types::Point
as if it were a Vector. - ToGT
Geometry - ToGeos