ElectronicHorizonOptions class

Provides options to configure ElectronicHorizonEngine.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Constructors

ElectronicHorizonOptions(List<double> lookAheadDistancesInMeters, double trailingDistanceInMeters)
Creates a new instance.

Properties

hashCode → int
The hash code for this object.
no setter
lookAheadDistancesInMeters ↔ List<double>
The ordered list of distances that define how far to look ahead in meters when calculating electronic horizon paths. The first entry of the list is for the most preferred path, the second is for the side paths of the first level, the third is for the side paths of the second level, and so on. Each entry defines how far ahead the path should be provided. The valid number of values is from one to ten. Values beyond the tenth entry are removed from the list. If the list is empty, a single default distance value is used instead.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trailingDistanceInMeters ↔ double
The trailing distance of the electronic horizon path in meters. Segments are removed from the path once they are passed and the distance to them exceeds this value.
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.