Enum Class TLspShapeDiscretizationMode

java.lang.Object
java.lang.Enum<TLspShapeDiscretizationMode>
com.luciad.view.lightspeed.geometry.discretization.TLspShapeDiscretizationMode
All Implemented Interfaces:
Serializable, Comparable<TLspShapeDiscretizationMode>, Constable

public enum TLspShapeDiscretizationMode extends Enum<TLspShapeDiscretizationMode>
Mode enumeration used to indicate whether a shape's outline, interior or both should be discretized.
Since:
2012.0
  • Enum Constant Details

    • OUTLINE

      public static final TLspShapeDiscretizationMode OUTLINE
      Indicates that only the outline of a shape should be discretized.
    • INTERIOR

      public static final TLspShapeDiscretizationMode INTERIOR
      Indicates that only the interior of a shape should be discretized. This mode is only valid for shapes with a closed contour, such as polygons or circles.
    • POINTS

      public static final TLspShapeDiscretizationMode POINTS
      Indicates that the shape should be converted to a set of points. For an ILcdPoint this comes down to the point itself, for a line or a polygon this could mean returning all points that make up the outline.
  • Method Details

    • values

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