- All Implemented Interfaces:
Serializable
,Comparable<KmlAltitudeMode>
,Constable
Determines how altitude values should be interpreted.
- Since:
- 100.4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInterprets the altitude as a value in meters above sea level, regardless of the terrain elevation beneath the feature.The altitude specification is ignored, and the object will be draped over the ground.(default) Interprets the altitude as a value in meters above the ground.Unknown altitude mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic KmlAltitudeMode
Returns the enum constant of this class with the specified name.static KmlAltitudeMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLAMP_TO_GROUND
The altitude specification is ignored, and the object will be draped over the ground.- Since:
- 100.4.0
-
RELATIVE_TO_GROUND
(default) Interprets the altitude as a value in meters above the ground. If the point is over water, the<altitude>
will be interpreted as a value in meters above sea level.- Since:
- 100.4.0
-
ABSOLUTE
Interprets the altitude as a value in meters above sea level, regardless of the terrain elevation beneath the feature.- Since:
- 100.4.0
-
UNKNOWN
Unknown altitude mode.- Since:
- 100.9.0
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-