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
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theScaleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theScaleSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thex
element.static final TLcdDataProperty
Data property that maps to they
element.static final TLcdDataProperty
Data property that maps to thez
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML22Scale
(TLcdDataType aType) Creates a newTLcdKML22Scale
with 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.void
Sets the value of the property that maps to thex
element.void
Sets the value of the property that maps to they
element.void
Sets the value of the property that maps to thez
element.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
X_PROPERTY
Data property that maps to thex
element. The possible values for this property are instances ofDouble
. -
Y_PROPERTY
Data property that maps to they
element. The possible values for this property are instances ofDouble
. -
Z_PROPERTY
Data property that maps to thez
element. The possible values for this property are instances ofDouble
. -
SCALE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theScaleSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
SCALE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theScaleObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22Scale
Creates a newTLcdKML22Scale
with 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 thex
element.- Parameters:
aValue
- the value to set for theX_PROPERTY
property.
-
setY
Sets the value of the property that maps to they
element.- Parameters:
aValue
- the value to set for theY_PROPERTY
property.
-
setZ
Sets the value of the property that maps to thez
element.- Parameters:
aValue
- the value to set for theZ_PROPERTY
property.
-