[][src]Struct geo_booleanop::boolean::sweep_event::SweepEvent

pub struct SweepEvent<F> where
    F: Float
{ pub contour_id: u32, pub point: Coordinate<F>, pub is_subject: bool, pub is_exterior_ring: bool, // some fields omitted }

Fields

contour_id: u32point: Coordinate<F>is_subject: boolis_exterior_ring: bool

Implementations

impl<F> SweepEvent<F> where
    F: Float
[src]

pub fn new_rc(
    contour_id: u32,
    point: Coordinate<F>,
    left: bool,
    other_event: Weak<SweepEvent<F>>,
    is_subject: bool,
    is_exterior_ring: bool
) -> Rc<SweepEvent<F>>
[src]

pub fn is_left(&self) -> bool[src]

pub fn set_left(&self, left: bool)[src]

pub fn get_other_event(&self) -> Option<Rc<SweepEvent<F>>>[src]

pub fn set_other_event(&self, other_event: &Rc<SweepEvent<F>>)[src]

pub fn get_prev_in_result(&self) -> Option<Rc<SweepEvent<F>>>[src]

pub fn set_prev_in_result(&self, prev_in_result: &Rc<SweepEvent<F>>)[src]

pub fn unset_prev_in_result(&self)[src]

pub fn get_edge_type(&self) -> EdgeType[src]

pub fn set_edge_type(&self, edge_type: EdgeType)[src]

pub fn is_in_out(&self) -> bool[src]

pub fn is_other_in_out(&self) -> bool[src]

pub fn is_in_result(&self) -> bool[src]

pub fn set_result_transition(&self, result_transition: ResultTransition)[src]

pub fn get_result_transition(&self) -> ResultTransition[src]

pub fn set_in_out(&self, in_out: bool, other_in_out: bool)[src]

pub fn get_other_pos(&self) -> i32[src]

pub fn set_other_pos(&self, other_pos: i32)[src]

pub fn get_output_contour_id(&self) -> i32[src]

pub fn set_output_contour_id(&self, output_contour_id: i32)[src]

pub fn is_below(&self, p: Coordinate<F>) -> bool[src]

pub fn is_above(&self, p: Coordinate<F>) -> bool[src]

pub fn is_vertical(&self) -> bool[src]

pub fn is_before(&self, other: &SweepEvent<F>) -> bool[src]

Helper function to avoid confusion by inverted ordering

pub fn is_after(&self, other: &SweepEvent<F>) -> bool[src]

Helper function to avoid confusion by inverted ordering

Trait Implementations

impl<F: Clone> Clone for SweepEvent<F> where
    F: Float
[src]

impl<F: Debug> Debug for SweepEvent<F> where
    F: Float
[src]

impl<F> Eq for SweepEvent<F> where
    F: Float
[src]

impl<F> Ord for SweepEvent<F> where
    F: Float
[src]

impl<F> PartialEq<SweepEvent<F>> for SweepEvent<F> where
    F: Float
[src]

impl<F> PartialOrd<SweepEvent<F>> for SweepEvent<F> where
    F: Float
[src]

Auto Trait Implementations

impl<F> !RefUnwindSafe for SweepEvent<F>

impl<F> !Send for SweepEvent<F>

impl<F> !Sync for SweepEvent<F>

impl<F> Unpin for SweepEvent<F> where
    F: Unpin

impl<F> !UnwindSafe for SweepEvent<F>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.