pub struct OrcaLine2D { /* private fields */ }Expand description
Directed 2D half-plane constraint (det(direction, v - point) >= 0 is feasible).
Implementations§
Source§impl OrcaLine2D
Implements impl #impl_generics #name #ty_generics #where_clause.
impl OrcaLine2D
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_point(&self) -> Vec2
pub fn get_mut_point(&mut self) -> &mut Vec2
pub fn set_point(&mut self, val: Vec2) -> &mut Self
pub fn get_direction(&self) -> Vec2
pub fn get_mut_direction(&mut self) -> &mut Vec2
pub fn set_direction(&mut self, val: Vec2) -> &mut Self
Trait Implementations§
Source§impl Clone for OrcaLine2D
impl Clone for OrcaLine2D
impl Copy for OrcaLine2D
Source§impl Debug for OrcaLine2D
impl Debug for OrcaLine2D
Source§impl PartialEq for OrcaLine2D
impl PartialEq for OrcaLine2D
impl StructuralPartialEq for OrcaLine2D
Auto Trait Implementations§
impl Forget for OrcaLine2D
impl Freeze for OrcaLine2D
impl Move for OrcaLine2D
impl RefUnwindSafe for OrcaLine2D
impl Send for OrcaLine2D
impl Sync for OrcaLine2D
impl Unpin for OrcaLine2D
impl UnsafeUnpin for OrcaLine2D
impl UnwindSafe for OrcaLine2D
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