pub struct Point3D {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
Three-dimensional point.
Fields§
§x: f64x-coordinate
y: f64y-coordinate
z: f64z-coordinate
Implementations§
Source§impl Point3D
impl Point3D
Sourcepub const ORIGIN: Point3D
pub const ORIGIN: Point3D
Origin (0, 0, 0).
§Examples
use geomcore::Point3D;
assert_eq!(Point3D::ORIGIN, Point3D::new(0.0, 0.0, 0.0));Trait Implementations§
impl Copy for Point3D
impl StructuralPartialEq for Point3D
Auto Trait Implementations§
impl Freeze for Point3D
impl RefUnwindSafe for Point3D
impl Send for Point3D
impl Sync for Point3D
impl Unpin for Point3D
impl UnsafeUnpin for Point3D
impl UnwindSafe for Point3D
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