devela::num::geomType Alias Point3d
Source pub type Point3d<T> = Point<T, 3>;
Available on crate feature geom
only.
Expand description
A specific position in 3d-space without a size.
struct Point3d<T> {
pub coords: [T; 3],
}
The D-dimensional coordinates.
Returns a copy of the first dimension x
.
Returns a copy of the second dimension y
.
Returns a copy of the third dimension z
.
Returns a shared reference to the first dimension x
.
Returns a shared reference to the second dimension y
.
Returns a shared reference to the third dimension z
.
Returns an exclusive reference to the first dimension x
.
Returns an exclusive reference to the second dimension y
.
Returns an exclusive reference to the third dimension z
.