pub enum Intersection<T> {
    Coplanar,
    Outside,
    Inside(T),
}
Expand description

Polygon intersection results.

Variants

Coplanar

Polygons are coplanar, including the case of being on the same plane.

Outside

Polygon planes are intersecting, but polygons are not.

Inside(T)

Polygons are actually intersecting.

Implementations

Return true if the intersection is completely outside.

Return true if the intersection cuts the source polygon.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.