Point3d class Core
3D point value object.
Small container for three double-precision coordinates. Used usually by the MapCamera class.
Also see:
- Point4d - For 4D point/quaternion-like values
- Coordinates - For geographic coordinates
Constructors
- Point3d.new({double x = 0.0, double y = 0.0, double z = 0.0})
- Constructor for the point class.
-
Point3d.fromJson(Map<
String, dynamic> json) -
Deserializes a JSON-compatible map to create an instance.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x ↔ double
-
The value on the X axis
getter/setter pair
- y ↔ double
-
The value on the Y axis
getter/setter pair
- z ↔ double
-
The value on the Z axis
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes this instance to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant Point3d other) → bool -
The equality operator.
override