rene 0.2.0

Computational geometry.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::types::Box;

pub trait Bounded<Scalar> {
    fn to_bounding_box(self) -> Box<Scalar>;

    fn to_max_x(self) -> Scalar;

    fn to_max_y(self) -> Scalar;

    fn to_min_x(self) -> Scalar;

    fn to_min_y(self) -> Scalar;
}