Class ElectronicHorizonOptions

java.lang.Object
com.here.sdk.electronichorizon.ElectronicHorizonOptions

public final class ElectronicHorizonOptions extends Object

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.

  • Field Details

    • lookAheadDistancesInMeters

      @NonNull public List<Double> lookAheadDistancesInMeters

      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.

    • trailingDistanceInMeters

      public double trailingDistanceInMeters

      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.

  • Constructor Details

    • ElectronicHorizonOptions

      public ElectronicHorizonOptions(@NonNull List<Double> lookAheadDistancesInMeters, double trailingDistanceInMeters)

      Creates a new instance.

      Offline availability: This property is available online and offline.

      Parameters:
      lookAheadDistancesInMeters -

      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.

      trailingDistanceInMeters -

      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.

  • Method Details