Class TLcdKML223DModel

All Implemented Interfaces:
ILcdDataObject, ILcdBounded, ILcdShape, ILcd2DEditableShape, ILcd3DEditableShape, ILcdCache, ILcdCloneable, ILcdDeepCloneable, Serializable, Cloneable

public class TLcdKML223DModel extends TLcdKML22AbstractGeometry
Domain class modeling the KML ModelType type.

OGC KML Specification description:

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

  -kml:AbstractGeometryGroup

 Specifies the location and orientation of a textured 3D object resource. The structure and
 appearance of the textured 3D object are not defined in this specification.
 A local earth-fixed frame (X-Y-Z) is defined as follows.
 The Z'-axis is defined by the local surface normal (local to the tangent plane at the location
 point), the Y'-axis is defined by the intersection of the meridian plane defined by the
 longitude of the location point, and the tangent plane, and the X'-axis is chosen so that X'-Y'-
 Z' form a right handed orthogonal frame.
 A model-fixed frame (X-Y-Z) is defined as follows. The Y-axis is +ve through the front of
 the model. The Z-axis is +ve through the top of the model and the X-axis is chosen so that
 X-Y-Z forms a right handed orthogonal frame.
 The orientation of the model is then defined by the orientation of the model-fixed frame (X-
 Y-Z) relative to the local earth-fixed frame (X-Y-Z) as follows:
                             Roll - rotation about the model Y-axis
                               Tilt - rotation about the model X-axis
                            Heading - Rotation about the model Z-axis
 kml:Model:
    -   shall contain kml:Link and kml:Location elements;
    -   shall contain a kml:ResourceMap element that has a kml:Alias element for each
        texture file, if the target resource has texture files;
 outside of an update context, that is when not a descendant of kml:Update.
 

Since:
10.0
See Also:
  • Field Details

    • ALTITUDE_MODE_PROPERTY

      public static final TLcdDataProperty ALTITUDE_MODE_PROPERTY
      Data property that maps to the altitudeModeGroup element. The possible values for this property are instances of ELcdKML22AltitudeMode.
    • LOCATION_PROPERTY

      public static final TLcdDataProperty LOCATION_PROPERTY
      Data property that maps to the Location element. The possible values for this property are instances of TLcdKML22Location.
    • ORIENTATION_KML_PROPERTY

      public static final TLcdDataProperty ORIENTATION_KML_PROPERTY
      Data property that maps to the Orientation element. The possible values for this property are instances of TLcdKML22Orientation.
    • SCALE_PROPERTY

      public static final TLcdDataProperty SCALE_PROPERTY
      Data property that maps to the Scale element. The possible values for this property are instances of TLcdKML22Scale.
    • RESOURCE_MAP_PROPERTY

      public static final TLcdDataProperty RESOURCE_MAP_PROPERTY
      Data property that maps to the ResourceMap element. The possible values for this property are instances of TLcdKML22ResourceMap.
    • MODEL_SIMPLE_EXTENSION_GROUP_PROPERTY

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

      public static final TLcdDataProperty MODEL_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the ModelObjectExtensionGroup element. The possible values for this property are instances of List<TLcdKML22AbstractObject>.
    • ABSTRACT_GEOMETRY_SIMPLE_EXTENSION_GROUP_PROPERTY

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

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

    • TLcdKML223DModel

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

    • getFocusPoint

      public ILcdPoint getFocusPoint()
      Description copied from interface: ILcdShape
      Returns the focus point of this ILcdShape.
      Specified by:
      getFocusPoint in interface ILcdShape
      Overrides:
      getFocusPoint in class TLcdKML22AbstractGeometry
      Returns:
      the focus point of this ILcdShape.
    • getBounds

      public ILcdBounds getBounds()
      Description copied from interface: ILcdBounded
      Returns the ILcdBounds by which the geometry of this ILcdBounded object is bounded.

      If the geometry does not allow retrieving valid bounds (for example a polyline with 0 points) the return value is unspecified. It is highly recommended to return an undefined bounds. You can create undefined bounds using the default constructors of TLcdLonLatBounds or TLcdXYBounds.

      Specified by:
      getBounds in interface ILcdBounded
      Overrides:
      getBounds in class TLcdKML22AbstractGeometry
      Returns:
      the ILcdBounds by which the geometry of this ILcdBounded object is bounded.
    • getAltitudeMode

      public ELcdKML22AltitudeMode getAltitudeMode()
      Returns the value of the property that maps to the altitudeModeGroup element.
      Returns:
      the value of the ALTITUDE_MODE_PROPERTY property.
    • setAltitudeMode

      public void setAltitudeMode(ELcdKML22AltitudeMode aValue)
      Sets the value of the property that maps to the altitudeModeGroup element.
      Parameters:
      aValue - the value to set for the ALTITUDE_MODE_PROPERTY property.
    • getLocation

      public TLcdKML22Location getLocation()
      Returns the value of the property that maps to the Location element.
      Returns:
      the value of the LOCATION_PROPERTY property.
    • setLocation

      public void setLocation(TLcdKML22Location aValue)
      Sets the value of the property that maps to the Location element.
      Parameters:
      aValue - the value to set for the LOCATION_PROPERTY property.
    • getScale

      public TLcdKML22Scale getScale()
      Returns the value of the property that maps to the Scale element.
      Returns:
      the value of the SCALE_PROPERTY property.
    • setScale

      public void setScale(TLcdKML22Scale aValue)
      Sets the value of the property that maps to the Scale element.
      Parameters:
      aValue - the value to set for the SCALE_PROPERTY property.
    • getLink

      public TLcdKML22Link getLink()
      Returns the value of the property that maps to the Link element.
      Returns:
      the value of the LINK_PROPERTY property.
    • setLink

      public void setLink(TLcdKML22Link aValue)
      Sets the value of the property that maps to the Link element.
      Parameters:
      aValue - the value to set for the LINK_PROPERTY property.
    • getResourceMap

      public TLcdKML22ResourceMap getResourceMap()
      Returns the value of the property that maps to the ResourceMap element.
      Returns:
      the value of the RESOURCE_MAP_PROPERTY property.
    • setResourceMap

      public void setResourceMap(TLcdKML22ResourceMap aValue)
      Sets the value of the property that maps to the ResourceMap element.
      Parameters:
      aValue - the value to set for the RESOURCE_MAP_PROPERTY property.