pub struct Plane1D { /* private fields */ }Expand description
Concrete 1D mirror reference represented by a point and unit normal.
Implementations§
Source§impl Plane1D
impl Plane1D
Sourcepub fn new(point: CoordinateVector1D, normal: UnitVector1D) -> Self
pub fn new(point: CoordinateVector1D, normal: UnitVector1D) -> Self
Creates a new 1D mirror reference.
Trait Implementations§
impl Eq for Plane1D
impl GeometricPrimitive for Plane1D
Source§impl IsPlane for Plane1D
impl IsPlane for Plane1D
Source§type Point = CoordinateVector1D
type Point = CoordinateVector1D
Point type used to anchor the plane.
Source§type Normal = UnitVector1D
type Normal = UnitVector1D
Unit normal type used to orient the plane.
Source§fn point_mut(&mut self) -> &mut Self::Point
fn point_mut(&mut self) -> &mut Self::Point
Returns a mutable reference to a point on the plane.
Source§fn normal_mut(&mut self) -> &mut Self::Normal
fn normal_mut(&mut self) -> &mut Self::Normal
Returns a mutable reference to the plane normal.
impl StructuralPartialEq for Plane1D
Auto Trait Implementations§
impl Freeze for Plane1D
impl RefUnwindSafe for Plane1D
impl Send for Plane1D
impl Sync for Plane1D
impl Unpin for Plane1D
impl UnsafeUnpin for Plane1D
impl UnwindSafe for Plane1D
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