[−][src]Struct geo_booleanop::boolean::sweep_event::SweepEvent
Fields
contour_id: u32
point: Coordinate<F>
is_subject: bool
is_exterior_ring: bool
Methods
impl<F> SweepEvent<F> where
F: Float,
[src]
F: Float,
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]
contour_id: u32,
point: Coordinate<F>,
left: bool,
other_event: Weak<SweepEvent<F>>,
is_subject: bool,
is_exterior_ring: bool
) -> Rc<SweepEvent<F>>
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]
F: Float,
fn clone(&self) -> SweepEvent<F>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<F: Debug> Debug for SweepEvent<F> where
F: Float,
[src]
F: Float,
impl<F> Eq for SweepEvent<F> where
F: Float,
[src]
F: Float,
impl<F> Ord for SweepEvent<F> where
F: Float,
[src]
F: Float,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<F> PartialEq<SweepEvent<F>> for SweepEvent<F> where
F: Float,
[src]
F: Float,
impl<F> PartialOrd<SweepEvent<F>> for SweepEvent<F> where
F: Float,
[src]
F: Float,
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,
F: Unpin,
impl<F> !UnwindSafe for SweepEvent<F>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,