Enum IsochroneMethod

java.lang.Object
java.lang.Enum<IsochroneMethod>
com.cercalia.sdk.model.isochrone.IsochroneMethod
All Implemented Interfaces:
Serializable, Comparable<IsochroneMethod>, java.lang.constant.Constable

public enum IsochroneMethod extends Enum<IsochroneMethod>
Method used to calculate the isochrone polygon boundary.
  • Enum Constant Details

    • CONVEXHULL

      public static final IsochroneMethod CONVEXHULL
      Faster, creates a convex polygon (no concave edges)
    • CONCAVEHULL

      public static final IsochroneMethod CONCAVEHULL
      More accurate, creates a polygon that follows the actual reachable area
    • NET

      public static final IsochroneMethod NET
      Logistics network (only for truck routing)
  • Method Details

    • values

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

      public static IsochroneMethod valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Returns:
      Raw value for the API.