[][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

Methods

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_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_in_result(&self, in_result: bool)
[src]

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

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

pub fn set_pos(&self, pos: 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]

Trait Implementations

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

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

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

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

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl<F> !Send for SweepEvent<F>

impl<F> !Sync for SweepEvent<F>

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.