Class TLcdKML22Scale

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdKML22Scale extends TLcdKML22AbstractObject
Domain class modeling the KML ScaleType type.

OGC KML Specification description:

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

  -kml:AbstractObjectGroup

 Scales a model along the x, y, and z axes in the model's coordinate space.
 kml:Scale 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:x, kml:y, and kml:z all be
 specified.
 

Since:
10.0
  • Field Details

    • X_PROPERTY

      public static final TLcdDataProperty X_PROPERTY
      Data property that maps to the x element. The possible values for this property are instances of Double.
    • Y_PROPERTY

      public static final TLcdDataProperty Y_PROPERTY
      Data property that maps to the y element. The possible values for this property are instances of Double.
    • Z_PROPERTY

      public static final TLcdDataProperty Z_PROPERTY
      Data property that maps to the z element. The possible values for this property are instances of Double.
    • SCALE_SIMPLE_EXTENSION_GROUP_PROPERTY

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

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

    • TLcdKML22Scale

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

    • getX

      public Double getX()
      Gets the x value of this scale. If it was undefined it will return a default value of (1.0).
      Returns:
      an x value for this scale
    • getY

      public Double getY()
      Gets the y value of this scale. If it was undefined it will return a default value of (1.0).
      Returns:
      an y value for this scale
    • getZ

      public Double getZ()
      Gets the z value of this scale. If it was undefined it will return a default value of (1.0).
      Returns:
      an z value for this scale
    • setX

      public void setX(Double aValue)
      Sets the value of the property that maps to the x element.
      Parameters:
      aValue - the value to set for the X_PROPERTY property.
    • setY

      public void setY(Double aValue)
      Sets the value of the property that maps to the y element.
      Parameters:
      aValue - the value to set for the Y_PROPERTY property.
    • setZ

      public void setZ(Double aValue)
      Sets the value of the property that maps to the z element.
      Parameters:
      aValue - the value to set for the Z_PROPERTY property.