Point3D class

Represents a point in 3D space.

Constructors

Point3D(double x, double y, double z)
Constructs Point3D instance from the provided x,y and z values.
Point3D.zero()
Constructs Point3D instance at coordinate system's origin.

Properties

hashCode → int
The hash code for this object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x ↔ double
Position along the X axis. The default value is 0.
getter/setter pair
y ↔ double
Position along the Y axis. The default value is 0.
getter/setter pair
z ↔ double
Position along the Z axis. The default value is 0.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.