pub struct Active {Show 17 fields
pub bot: Point64,
pub top: Point64,
pub curr_x: i64,
pub dx: f64,
pub wind_dx: i32,
pub wind_cnt: i32,
pub wind_cnt2: i32,
pub outrec: Option<usize>,
pub prev_in_ael: Option<usize>,
pub next_in_ael: Option<usize>,
pub prev_in_sel: Option<usize>,
pub next_in_sel: Option<usize>,
pub jump: Option<usize>,
pub vertex_top: usize,
pub local_min: usize,
pub is_left_bound: bool,
pub join_with: JoinWith,
}Expand description
Active edge in the sweep line Direct port from clipper.engine.h line 104
Fields§
§bot: Point64§top: Point64§curr_x: i64§dx: f64§wind_dx: i32§wind_cnt: i32§wind_cnt2: i32§outrec: Option<usize>§prev_in_ael: Option<usize>§next_in_ael: Option<usize>§prev_in_sel: Option<usize>§next_in_sel: Option<usize>§jump: Option<usize>§vertex_top: usize§local_min: usize§is_left_bound: bool§join_with: JoinWithImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Active
impl RefUnwindSafe for Active
impl Send for Active
impl Sync for Active
impl Unpin for Active
impl UnwindSafe for Active
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more