public class TLcdKML22Orientation extends TLcdKML22AbstractObject
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.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
HEADING_PROPERTY
Data property that maps to the
heading element. |
static TLcdDataProperty |
ORIENTATION_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
OrientationObjectExtensionGroup element. |
static TLcdDataProperty |
ORIENTATION_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
OrientationSimpleExtensionGroup element. |
static TLcdDataProperty |
ROLL_PROPERTY
Data property that maps to the
roll element. |
static TLcdDataProperty |
TILT_PROPERTY
Data property that maps to the
tilt element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22Orientation(TLcdDataType aType)
Creates a new
TLcdKML22Orientation with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
Double |
getHeading()
Gets the heading of this orientation.
|
Double |
getRoll()
Gets the roll of this orientation.
|
Double |
getTilt()
Gets the tilt of this orientation.
|
void |
setHeading(Double aValue)
Sets the value of the property that maps to the
heading element. |
void |
setRoll(Double aValue)
Sets the value of the property that maps to the
roll element. |
void |
setTilt(Double aValue)
Sets the value of the property that maps to the
tilt element. |
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty HEADING_PROPERTY
heading
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty TILT_PROPERTY
tilt
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty ROLL_PROPERTY
roll
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty ORIENTATION_SIMPLE_EXTENSION_GROUP_PROPERTY
OrientationSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty ORIENTATION_OBJECT_EXTENSION_GROUP_PROPERTY
OrientationObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22Orientation(TLcdDataType aType)
TLcdKML22Orientation
with a custom TLcdDataType
.aType
- a custom TLcdDataType
public Double getHeading()
public Double getTilt()
public Double getRoll()
public void setHeading(Double aValue)
heading
element.aValue
- the value to set for the HEADING_PROPERTY
property.public void setTilt(Double aValue)
tilt
element.aValue
- the value to set for the TILT_PROPERTY
property.public void setRoll(Double aValue)
roll
element.aValue
- the value to set for the ROLL_PROPERTY
property.