Class TLcdKML22Orientation

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdKML22Orientation extends TLcdKML22AbstractObject
Domain class modeling the KML OrientationType type.

OGC KML Specification description:

 This element can be used wherever the following element is referenced:

  -kml:AbstractObjectGroup

 Specifies the orientation of the model coordinate axes relative to a local earth-fixed reference
 frame.
 kml:Orientation should contain at least one child element outside of an update context,
 that is when not a descendant of kml:Update. It is advised that kml:heading, kml:tile and
 kml:roll all be specified.
 

Since:
10.0
  • Field Details

    • HEADING_PROPERTY

      public static final TLcdDataProperty HEADING_PROPERTY
      Data property that maps to the heading element. The possible values for this property are instances of Double.
    • TILT_PROPERTY

      public static final TLcdDataProperty TILT_PROPERTY
      Data property that maps to the tilt element. The possible values for this property are instances of Double.
    • ROLL_PROPERTY

      public static final TLcdDataProperty ROLL_PROPERTY
      Data property that maps to the roll element. The possible values for this property are instances of Double.
    • ORIENTATION_SIMPLE_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ORIENTATION_SIMPLE_EXTENSION_GROUP_PROPERTY
      Data property that maps to the OrientationSimpleExtensionGroup element. The possible values for this property are instances of List<String>.
    • ORIENTATION_OBJECT_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ORIENTATION_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the OrientationObjectExtensionGroup element. The possible values for this property are instances of List<TLcdKML22AbstractObject>.
  • Constructor Details

    • TLcdKML22Orientation

      public TLcdKML22Orientation(TLcdDataType aType)
      Creates a new TLcdKML22Orientation with a custom TLcdDataType.
      Parameters:
      aType - a custom TLcdDataType
  • Method Details

    • getHeading

      public Double getHeading()
      Gets the heading of this orientation. If it was undefined it will return a default value of (0.0).
      Returns:
      a heading
    • getTilt

      public Double getTilt()
      Gets the tilt of this orientation. If it was undefined it will return a default value of (0.0).
      Returns:
      a tilt
    • getRoll

      public Double getRoll()
      Gets the roll of this orientation. If it was undefined it will return a default value of (0.0).
      Returns:
      a roll
    • setHeading

      public void setHeading(Double aValue)
      Sets the value of the property that maps to the heading element.
      Parameters:
      aValue - the value to set for the HEADING_PROPERTY property.
    • setTilt

      public void setTilt(Double aValue)
      Sets the value of the property that maps to the tilt element.
      Parameters:
      aValue - the value to set for the TILT_PROPERTY property.
    • setRoll

      public void setRoll(Double aValue)
      Sets the value of the property that maps to the roll element.
      Parameters:
      aValue - the value to set for the ROLL_PROPERTY property.