pub enum Dimension {
Empty,
Point,
Line,
Area,
DontCare,
}Expand description
Dimension of a geometric intersection component in the DE-9IM model.
Each cell in the 3x3 matrix records the maximum dimension of the intersection between parts (Interior, Boundary, Exterior) of two geometries.
Variants§
Empty
The intersection is empty (F in the matrix string, value -1)
Point
The intersection is a point or set of points (0 in the matrix string)
Line
The intersection is a line or set of lines (1 in the matrix string)
Area
The intersection is an area / surface (2 in the matrix string)
DontCare
Wildcard used for pattern matching only – never stored in a real matrix
Implementations§
Trait Implementations§
impl Copy for Dimension
impl Eq for Dimension
impl StructuralPartialEq for Dimension
Auto Trait Implementations§
impl Freeze for Dimension
impl RefUnwindSafe for Dimension
impl Send for Dimension
impl Sync for Dimension
impl Unpin for Dimension
impl UnsafeUnpin for Dimension
impl UnwindSafe for Dimension
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more