Class TLcdKML22Orientation
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.util.TLcdKML22Orientation
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
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 Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theheading
element.static final TLcdDataProperty
Data property that maps to theOrientationObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theOrientationSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theroll
element.static final TLcdDataProperty
Data property that maps to thetilt
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML22Orientation
(TLcdDataType aType) Creates a newTLcdKML22Orientation
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionGets the heading of this orientation.getRoll()
Gets the roll of this orientation.getTilt()
Gets the tilt of this orientation.void
setHeading
(Double aValue) Sets the value of the property that maps to theheading
element.void
Sets the value of the property that maps to theroll
element.void
Sets the value of the property that maps to thetilt
element.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
HEADING_PROPERTY
Data property that maps to theheading
element. The possible values for this property are instances ofDouble
. -
TILT_PROPERTY
Data property that maps to thetilt
element. The possible values for this property are instances ofDouble
. -
ROLL_PROPERTY
Data property that maps to theroll
element. The possible values for this property are instances ofDouble
. -
ORIENTATION_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theOrientationSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ORIENTATION_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theOrientationObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22Orientation
Creates a newTLcdKML22Orientation
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
getHeading
Gets the heading of this orientation. If it was undefined it will return a default value of (0.0).- Returns:
- a heading
-
getTilt
Gets the tilt of this orientation. If it was undefined it will return a default value of (0.0).- Returns:
- a tilt
-
getRoll
Gets the roll of this orientation. If it was undefined it will return a default value of (0.0).- Returns:
- a roll
-
setHeading
Sets the value of the property that maps to theheading
element.- Parameters:
aValue
- the value to set for theHEADING_PROPERTY
property.
-
setTilt
Sets the value of the property that maps to thetilt
element.- Parameters:
aValue
- the value to set for theTILT_PROPERTY
property.
-
setRoll
Sets the value of the property that maps to theroll
element.- Parameters:
aValue
- the value to set for theROLL_PROPERTY
property.
-