Enum Class GeometryDimension

All Implemented Interfaces:
Serializable, Comparable<GeometryDimension>, Constable

public enum GeometryDimension extends Enum<GeometryDimension>
Indicates the dimensionality of a Geometry, relating to the number of spatial dimensions in which the geometry may have a size.

Geometry dimensions can be used to work out what kind of symbol can be applied to a specific type of geometry. For example, Point and Multipoint are both zero-dimensional POINT geometries, and both can be displayed using a MarkerSymbol.

See Also:
  • Enum Constant Details

    • POINT

      public static final GeometryDimension POINT
      A zero-dimensional geometry such as a Point or Multipoint.
    • CURVE

      public static final GeometryDimension CURVE
      A one-dimensional geometry such as a Polyline.
    • AREA

      public static final GeometryDimension AREA
      A two-dimensional geometry such as a Polygon or Envelope.
    • VOLUME

      public static final GeometryDimension VOLUME
      A three-dimensional volumetric geometry. Currently, there are no VOLUME geometries supported by this API.

      public static final GeometryDimension UNKNOWN
      A geometry of unknown dimensionality. May indicate a type of geometry not supported by this API.
  • Method Details

    • values

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

      public static GeometryDimension 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null