PositionOrientation class Core
Position and orientation pair used by spatial APIs.
Combines a 3D position and a 4D orientation into a single container. Useful for MapCamera and other spatial APIs.
Constructors
- PositionOrientation({required Point3d position, required Point4d orientation})
- Constructor for the class.
-
PositionOrientation.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
- orientation ↔ Point4d
-
The object orientation
getter/setter pair
- position ↔ Point3d
-
The object position
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 PositionOrientation other) → bool -
The equality operator.
override