OrbitStrategy class

Implemented types

Constructors

OrbitStrategy({int angleSteps = 24, double radialSlack = 4.0, int radialSteps = 1, double hysteresisPx = 2.0, int hysteresisAngleSteps = 2, double minCover = 0.95, bool strictCollision = false})
const

Properties

angleSteps → int
Number of angular samples on the orbit.
final
hashCode → int
The hash code for this object.
no setterinherited
hysteresisAngleSteps → int
Number of neighboring angular slots treated as sticky around the previous angle.
final
hysteresisPx → double
Padding relaxation when reusing a previous placement.
final
minCover → double
Coverage required inside slots.
final
radialSlack → double
Small allowed deviation around the nominal orbit radius.
final
radialSteps → int
Number of radial steps on each side of nominal radius.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strictCollision → bool
If true, fallback refuses colliding candidates. If false, it picks the least-bad orbital candidate even under pressure.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
place<T>({required MapCamera cam, required Size viewport, required List<CollisionNode<T>> nodes, required CollisionOptions options, required SpatialHashGrid grid, required Map<Key, Offset> previousOffsets}) → List<CollisionPlacement>
override
toString() → String
A string representation of this object.
inherited

Operators

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