CachedOrbitPath class

Cached orbit path data to avoid recalculation every frame

Constructors

CachedOrbitPath({required List<Offset> path2D, required List<bool> pathVisible, required double rotationY, required double rotationZ, required double radius})

Properties

hashCode → int
The hash code for this object.
no setterinherited
path2D → List<Offset>
final
pathVisible → List<bool>
final
radius → double
final
rotationY → double
final
rotationZ → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isValidFor(double rotY, double rotZ, double r) → bool
Check if the cache is still valid for the given parameters
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.
inherited