Module flo_curves::geo
source · Expand description
Traits for basic geometric definitions
This provides some basic geometric definitions. The Geo
trait can be implemented by any type that has
a particular type of coordinate - for example, implementations of BezierCurve
need to implement Geo
in order to describe what type they use for coordinates.
BoundingBox
provides a way to describe axis-aligned bounding boxes. It too is a trait, making it
possible to request bounding boxes in types other than the default Bounds
type supplied by the
library.
Re-exports
pub use super::coordinate::*;
Structs
Type representing a bounding box
Traits
Trait implemented by things representing axis-aligned bounding boxes
Simple base trait implemented by things representing geometry