Package com.esri.core.geometry
Enum Geometry.Type
- All Implemented Interfaces:
Serializable
,Comparable<Geometry.Type>
,java.lang.constant.Constable
- Enclosing class:
Geometry
The type of this geometry.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe value representing an envelope as geometry type.The value representing a line as geometry type.The value representing a multipoint as geometry type.The value representing a point as geometry type.The value representing a polygon as geometry type.The value representing a polyline as geometry type.Used to indicate that the geometry type is not known before executing a method. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry.Type
intToType
(int geometryType) int
value()
Returns the integer representation of the enumeration value.static Geometry.Type
Returns the enum constant of this type with the specified name.static Geometry.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Unknown
Used to indicate that the geometry type is not known before executing a method. -
Point
The value representing a point as geometry type. -
Line
The value representing a line as geometry type. -
Envelope
The value representing an envelope as geometry type. -
MultiPoint
The value representing a multipoint as geometry type. -
Polyline
The value representing a polyline as geometry type. -
Polygon
The value representing a polygon as geometry type.
-
-
Field Details
-
enumValue
private int enumValue
-
-
Constructor Details
-
Type
private Type(int val)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
value
public int value()Returns the integer representation of the enumeration value. -
intToType
-