flo_curves 0.8.0

Library for manipulating Bezier curves
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::geo::*;
use super::bounding_box::*;

///
/// Trait implemented by types that have a bounding box associated with them
///
pub trait HasBoundingBox : Geo {
    ///
    /// Returns the bounding box that encloses this item
    ///
    fn get_bounding_box<Bounds: BoundingBox<Point=Self::Point>>(&self) -> Bounds;
}