Enum GeometryDimension

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<GeometryDimension>

    public enum GeometryDimension
    extends java.lang.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.

    Since:
    100.0.0
    See Also:
    GeometryType
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AREA
      A two-dimensional geometry such as a Polygon or Envelope.
      CURVE
      A one-dimensional geometry such as a Polyline.
      POINT
      A zero-dimensional geometry such as a Point or Multipoint.
      UNKNOWN
      A geometry of unknown dimensionality.
      VOLUME
      A three-dimensional volumetric geometry.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GeometryDimension valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static GeometryDimension[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • VOLUME

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

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

      • values

        public static GeometryDimension[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GeometryDimension c : GeometryDimension.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GeometryDimension valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null