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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theheadingelement.static final TLcdDataPropertyData property that maps to theOrientationObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theOrientationSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to therollelement.static final TLcdDataPropertyData property that maps to thetiltelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdKML22Orientation(TLcdDataType aType) Creates a newTLcdKML22Orientationwith 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.voidsetHeading(Double aValue) Sets the value of the property that maps to theheadingelement.voidSets the value of the property that maps to therollelement.voidSets the value of the property that maps to thetiltelement.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
HEADING_PROPERTY
Data property that maps to theheadingelement. The possible values for this property are instances ofDouble. -
TILT_PROPERTY
Data property that maps to thetiltelement. The possible values for this property are instances ofDouble. -
ROLL_PROPERTY
Data property that maps to therollelement. The possible values for this property are instances ofDouble. -
ORIENTATION_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theOrientationSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
ORIENTATION_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theOrientationObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML22Orientation
Creates a newTLcdKML22Orientationwith 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 theheadingelement.- Parameters:
aValue- the value to set for theHEADING_PROPERTYproperty.
-
setTilt
Sets the value of the property that maps to thetiltelement.- Parameters:
aValue- the value to set for theTILT_PROPERTYproperty.
-
setRoll
Sets the value of the property that maps to therollelement.- Parameters:
aValue- the value to set for theROLL_PROPERTYproperty.
-