Class TLcdKML22Scale
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.util.TLcdKML22Scale
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theScaleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theScaleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to thexelement.static final TLcdDataPropertyData property that maps to theyelement.static final TLcdDataPropertyData property that maps to thezelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdKML22Scale(TLcdDataType aType) Creates a newTLcdKML22Scalewith a customTLcdDataType. -
Method Summary
Modifier and TypeMethodDescriptiongetX()Gets the x value of this scale.getY()Gets the y value of this scale.getZ()Gets the z value of this scale.voidSets the value of the property that maps to thexelement.voidSets the value of the property that maps to theyelement.voidSets the value of the property that maps to thezelement.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
X_PROPERTY
Data property that maps to thexelement. The possible values for this property are instances ofDouble. -
Y_PROPERTY
Data property that maps to theyelement. The possible values for this property are instances ofDouble. -
Z_PROPERTY
Data property that maps to thezelement. The possible values for this property are instances ofDouble. -
SCALE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theScaleSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
SCALE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theScaleObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML22Scale
Creates a newTLcdKML22Scalewith a customTLcdDataType.- Parameters:
aType- a customTLcdDataType
-
-
Method Details
-
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
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
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
Sets the value of the property that maps to thexelement.- Parameters:
aValue- the value to set for theX_PROPERTYproperty.
-
setY
Sets the value of the property that maps to theyelement.- Parameters:
aValue- the value to set for theY_PROPERTYproperty.
-
setZ
Sets the value of the property that maps to thezelement.- Parameters:
aValue- the value to set for theZ_PROPERTYproperty.
-