pub struct Homog2(pub Int, pub Int, pub Int);Expand description
Cached homogenization of a 2D point: (X, Y, W), x = X/W, W > 0. Hot loops that test one point against many (the arrangement’s segment sweep) homogenize each point once and reuse it across every predicate call.
Tuple Fields§
§0: Int§1: Int§2: IntTrait Implementations§
Auto Trait Implementations§
impl Freeze for Homog2
impl RefUnwindSafe for Homog2
impl Send for Homog2
impl Sync for Homog2
impl Unpin for Homog2
impl UnsafeUnpin for Homog2
impl UnwindSafe for Homog2
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