Struct intersect2d::algorithm::SiteEvent [−][src]
pub struct SiteEvent<T> where
T: Float + UlpsEq + CoordFloat,
T::Epsilon: Copy, { /* fields omitted */ }
SiteEvents contains the events happening at a specific point. Line segments have their start and end positions arranged so that line.start.y < line.end.y Sorting is based on their Y-coordinate, secondary the X-coordinate. (line.start.x < line.end.x)
The ‘drop’ list contains the line segments that ends in the event point. The ‘add’ list contains the line segments that starts in the event point. The ‘intersection’ list contains the line segments that intersects at the event point.
Implementations
impl<T> SiteEvent<T> where
T: Float + UlpsEq + CoordFloat,
T::Epsilon: Copy,
[src]
impl<T> SiteEvent<T> where
T: Float + UlpsEq + CoordFloat,
T::Epsilon: Copy,
[src]pub fn get_intersections(&self) -> &Option<Vec<usize>>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for SiteEvent<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for SiteEvent<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for SiteEvent<T> where
T: UnwindSafe,
impl<T> UnwindSafe for SiteEvent<T> where
T: UnwindSafe,