Enum Class ExtendOptions

java.lang.Object
java.lang.Enum<ExtendOptions>
com.esri.arcgisruntime.geometry.ExtendOptions
All Implemented Interfaces:
Serializable, Comparable<ExtendOptions>, Constable

public enum ExtendOptions extends Enum<ExtendOptions>
Represents the options that can be specified when performing a GeometryEngine.extend(Polyline, Polyline, ExtendOptions...) operation. Multiple values can be passed, but some combinations of values are incompatible.
Since:
100.1.0
  • Enum Constant Details

    • DEFAULT

      public static final ExtendOptions DEFAULT
      By default, extension considers both ends of paths. The old ends remain and new points are added at the extended ends. The new points have attributes that are extrapolated from adjacent existing segments.
      Since:
      100.1.0
    • RELOCATE_ENDS

      public static final ExtendOptions RELOCATE_ENDS
      If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position.
      Since:
      100.1.0
    • KEEP_END_ATTRIBUTES

      public static final ExtendOptions KEEP_END_ATTRIBUTES
      If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes the same as the current end. Incompatible with NO_END_ATTRIBUTES.
      Since:
      100.1.0
    • NO_END_ATTRIBUTES

      public static final ExtendOptions NO_END_ATTRIBUTES
      If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes be empty. Incompatible with KEEP_END_ATTRIBUTES.
      Since:
      100.1.0
    • DO_NOT_EXTEND_FROM_START_POINT

      public static final ExtendOptions DO_NOT_EXTEND_FROM_START_POINT
      Do not extend the 'from' end of any path.
      Since:
      100.1.0
    • DO_NOT_EXTEND_FROM_END_POINT

      public static final ExtendOptions DO_NOT_EXTEND_FROM_END_POINT
      Do not extend the 'to' end of any path.
      Since:
      100.1.0
  • Method Details

    • values

      public static ExtendOptions[] 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 ExtendOptions 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