rene 0.2.0

Computational geometry.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Location {
    /// point lies on the boundary of the geometry
    Boundary,
    /// point lies in the exterior of the geometry
    Exterior,
    /// point lies in the interior of the geometry
    Interior,
}

pub trait Locatable<Other> {
    fn locate(self, other: Other) -> Location;
}