Point3D
struct · ferroui-media3d · v0.5.0
struct Point3D
A location in 3D space, with double-precision coordinates (WPF's
System.Windows.Media.Media3D.Point3D).
Members
x
x: f64
The X coordinate.
y
y: f64
The Y coordinate.
z
z: f64
The Z coordinate.
new
const fn new(x: f64, y: f64, z: f64) -> Self
A point with the given coordinates.
offset
fn offset(self: &mut Self, offset_x: f64, offset_y: f64, offset_z: f64)
Moves the point by the given amounts.
parse
fn parse(text: &str) -> Result<Self, FormatError>
Parses the text form "x,y,z" (commas, white space or both between the numbers) in the
invariant culture.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherFromIterator<Point3D>MarkupTypedCloneCopyDebugStructuralPartialEqPartialEqDefaultAdd<Vector3D>Sub<Vector3D>SubMul<Matrix3D>AddAssign<Vector3D>SubAssign<Vector3D>From<Point3D>FromStrDisplayFrom<Size3D>Add<Point3D>Sub<Point3D>From<Vector3D>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.