Enum Class GeoPolylineDirection

java.lang.Object
java.lang.Enum<GeoPolylineDirection>
com.here.sdk.core.GeoPolylineDirection
All Implemented Interfaces:
Serializable, Comparable<GeoPolylineDirection>, Constable

public enum GeoPolylineDirection extends Enum<GeoPolylineDirection>

Defines if a function on a GeoPolyline computes the operation starting from the beginning or from the end of GeoPolyline.vertices.

  • Enum Constant Details

    • FROM_BEGINNING

      public static final GeoPolylineDirection FROM_BEGINNING

      Identifies that the operation is from the first vertex to the last one.

    • FROM_END

      public static final GeoPolylineDirection FROM_END

      Identifies that the operation is from the last vertex to the first one.

  • Method Details

    • values

      public static GeoPolylineDirection[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GeoPolylineDirection valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null