Package com.esri.arcgisruntime.geometry
Enum GeometryDimension
- java.lang.Object
-
- java.lang.Enum<GeometryDimension>
-
- com.esri.arcgisruntime.geometry.GeometryDimension
-
- All Implemented Interfaces:
Serializable
,Comparable<GeometryDimension>
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 aMarkerSymbol
.- Since:
- 100.0.0
- See Also:
GeometryType
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryDimension
valueOf(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.
-
-
-
Enum Constant Detail
-
POINT
public static final GeometryDimension POINT
A zero-dimensional geometry such as aPoint
orMultipoint
.
-
CURVE
public static final GeometryDimension CURVE
A one-dimensional geometry such as aPolyline
.
-
AREA
public static final GeometryDimension AREA
-
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(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 nameNullPointerException
- if the argument is null
-
-