Expand description
Creates a new point with the given coordinates.
Returns the x coordinate of the point.
let p = p3d(2, 3, -1);
assert_eq!(2, p.x());
Returns the y coordinate of the point.
let p = p3d(2, 3, -1);
assert_eq!(3, p.y());
Returns the z coordinate of the point.
let p = p3d(2, 3, -1);
assert_eq!(-1, p.z());