Enum geo::algorithm::line_intersection::LineIntersection [−][src]
pub enum LineIntersection<F: GeoFloat> {
SinglePoint {
intersection: Coordinate<F>,
is_proper: bool,
},
Collinear {
intersection: Line<F>,
},
}
Variants
SinglePoint
Fields
intersection: Coordinate<F>
is_proper: bool
For Lines which intersect in a single point, that point may be either an endpoint or in the interior of each Line. If the point lies in the interior of both Lines, we call it a proper intersection.
Lines intersect in a single point
Collinear
Fields
intersection: Line<F>
Overlapping Lines intersect in a line segment
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<F> RefUnwindSafe for LineIntersection<F> where
F: RefUnwindSafe,
impl<F> Send for LineIntersection<F> where
F: Send,
impl<F> Sync for LineIntersection<F> where
F: Sync,
impl<F> Unpin for LineIntersection<F> where
F: Unpin,
impl<F> UnwindSafe for LineIntersection<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more