Enum KmlAltitudeMode

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

    public enum KmlAltitudeMode
    extends java.lang.Enum<KmlAltitudeMode>
    Determines how altitude values should be interpreted.
    Since:
    100.4.0
    See Also:
    KmlGeometry
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ABSOLUTE
      Interprets the altitude as a value in meters above sea level, regardless of the terrain elevation beneath the feature.
      CLAMP_TO_GROUND
      The altitude specification is ignored, and the object will be draped over the ground.
      RELATIVE_TO_GROUND
      (default) Interprets the altitude as a value in meters above the ground.
      UNKNOWN
      Unknown altitude mode.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static KmlAltitudeMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static KmlAltitudeMode[] 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

      • CLAMP_TO_GROUND

        public static final KmlAltitudeMode CLAMP_TO_GROUND
        The altitude specification is ignored, and the object will be draped over the ground.
        Since:
        100.4.0
      • RELATIVE_TO_GROUND

        public static final KmlAltitudeMode 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

        public static final KmlAltitudeMode 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

        public static final KmlAltitudeMode UNKNOWN
        Unknown altitude mode.
        Since:
        100.9.0
    • Method Detail

      • values

        public static KmlAltitudeMode[] 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 (KmlAltitudeMode c : KmlAltitudeMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KmlAltitudeMode 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