Struct ProjectivePoint
pub struct ProjectivePoint { /* private fields */ }Expand description
A projective point represented by homogeneous coordinates.
Implementations§
§impl ProjectivePoint
impl ProjectivePoint
pub fn new(coordinates: Vec<f64>) -> Option<ProjectivePoint>
pub fn new(coordinates: Vec<f64>) -> Option<ProjectivePoint>
Creates a projective point from nonzero finite homogeneous coordinates.
pub fn coordinates(&self) -> &[f64]
pub fn coordinates(&self) -> &[f64]
Returns the homogeneous coordinates.
Trait Implementations§
§impl Clone for ProjectivePoint
impl Clone for ProjectivePoint
§fn clone(&self) -> ProjectivePoint
fn clone(&self) -> ProjectivePoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ProjectivePoint
impl Debug for ProjectivePoint
§impl PartialEq for ProjectivePoint
impl PartialEq for ProjectivePoint
impl StructuralPartialEq for ProjectivePoint
Auto Trait Implementations§
impl Freeze for ProjectivePoint
impl RefUnwindSafe for ProjectivePoint
impl Send for ProjectivePoint
impl Sync for ProjectivePoint
impl Unpin for ProjectivePoint
impl UnsafeUnpin for ProjectivePoint
impl UnwindSafe for ProjectivePoint
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