Package com.luciad.transformation
Class TLcdCompositeModelXYZWorldTransformation
java.lang.Object
com.luciad.transformation.TLcdCompositeModelXYZWorldTransformation
- All Implemented Interfaces:
ILcdModelXYZWorldTransformation
,Serializable
public class TLcdCompositeModelXYZWorldTransformation
extends Object
implements ILcdModelXYZWorldTransformation
A hybrid 2d and 3d transformation. It transforms lon-lat/x-y values using a
ILcdModelXYWorldTransformation
. The z values are transformed using
a ILcdModelZWorldTransformation
.- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a newTLcdCompositeModelXYZWorldTransformation
without a wrapped xy- and z transformation.TLcdCompositeModelXYZWorldTransformation
(ILcdModelXYWorldTransformation aWrappedTransformation, ILcdModelZWorldTransformation aZTransformation) Creates a newTLcdCompositeModelXYZWorldTransformation
with the given xy- and z transformation. -
Method Summary
Modifier and TypeMethodDescriptionGets the model reference of thisILcdModelXYZWorldTransformation
.Gets the world reference of thisILcdModelXYZWorldTransformation
.void
modelBounds2worldSFCT
(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) Transforms model bounds into world bounds.void
modelPoint2worldSFCT
(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) Transforms a model point into a world point.void
setModelReference
(ILcdModelReference aReference) Sets the model reference of thisILcdModelXYZWorldTransformation
.void
setXYTransformation
(ILcdModelXYWorldTransformation aXYTransformation) Sets the wrapped xy transformation.void
setXYZWorldReference
(ILcdXYZWorldReference aReference) Sets the world reference of thisILcdModelXYZWorldTransformation
.void
setZTransformation
(ILcdModelZWorldTransformation aZTransformation) Sets the wrapped z transformation.void
worldBounds2modelSFCT
(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) Transforms world bounds into model bounds.void
worldPoint2modelSFCT
(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) Transforms a world point into a model point.
-
Constructor Details
-
TLcdCompositeModelXYZWorldTransformation
public TLcdCompositeModelXYZWorldTransformation()Creates a newTLcdCompositeModelXYZWorldTransformation
without a wrapped xy- and z transformation. Before the newly created instance can be used usefully, the wrapped transformations must be set.- See Also:
-
TLcdCompositeModelXYZWorldTransformation
public TLcdCompositeModelXYZWorldTransformation(ILcdModelXYWorldTransformation aWrappedTransformation, ILcdModelZWorldTransformation aZTransformation) Creates a newTLcdCompositeModelXYZWorldTransformation
with the given xy- and z transformation.- Parameters:
aWrappedTransformation
- the transformation that will be used to transform lon-lat/x-y valuesaZTransformation
- the transformation that will be used to transform z values
-
-
Method Details
-
setXYTransformation
Sets the wrapped xy transformation. Together with the wrapped z transformation, this transformation is used to construct an xyz transformation- Parameters:
aXYTransformation
- the new wrapped xy transformation- See Also:
-
setZTransformation
Sets the wrapped z transformation. Together with the wrapped xy transformation, this transformation is used to construct an xyz transformation- Parameters:
aZTransformation
- the new wrapped z transformation- See Also:
-
setModelReference
Description copied from interface:ILcdModelXYZWorldTransformation
Sets the model reference of thisILcdModelXYZWorldTransformation
.- Specified by:
setModelReference
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aReference
- the model reference to be used in thisILcdModelXYZWorldTransformation
.- See Also:
-
getModelReference
Description copied from interface:ILcdModelXYZWorldTransformation
Gets the model reference of thisILcdModelXYZWorldTransformation
.- Specified by:
getModelReference
in interfaceILcdModelXYZWorldTransformation
- Returns:
- the model reference of this
ILcdModelXYZWorldTransformation
. - See Also:
-
setXYZWorldReference
Description copied from interface:ILcdModelXYZWorldTransformation
Sets the world reference of thisILcdModelXYZWorldTransformation
.- Specified by:
setXYZWorldReference
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aReference
- the world reference to be used in thisILcdModelXYZWorldTransformation
.- See Also:
-
getXYZWorldReference
Description copied from interface:ILcdModelXYZWorldTransformation
Gets the world reference of thisILcdModelXYZWorldTransformation
.- Specified by:
getXYZWorldReference
in interfaceILcdModelXYZWorldTransformation
- Returns:
- the world reference of this
ILcdModelXYZWorldTransformation
. - See Also:
-
modelPoint2worldSFCT
public void modelPoint2worldSFCT(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms a model point into a world point.- Specified by:
modelPoint2worldSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aPoint
- coordinate in model reference system.aEditablePoint
- coordinate in world reference system upon completion of the method.- Throws:
TLcdOutOfBoundsException
- if the model point is outside the valid area of the projection.
-
worldPoint2modelSFCT
public void worldPoint2modelSFCT(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms a world point into a model point.- Specified by:
worldPoint2modelSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aPoint
- coordinate in world reference system.aEditablePoint
- coordinate in model reference system upon completion of the method.- Throws:
TLcdOutOfBoundsException
- if the world point is outside the valid area of the projection.
-
modelBounds2worldSFCT
public void modelBounds2worldSFCT(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) throws TLcdNoBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms model bounds into world bounds.- Specified by:
modelBounds2worldSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aBounds
- bounds in model reference system.aEditableBounds
- bounds in world reference system upon completion of the method.- Throws:
TLcdNoBoundsException
- if the model bounds doesn't have valid corresponding bounds in world space, or if it isundefined
.
-
worldBounds2modelSFCT
public void worldBounds2modelSFCT(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms world bounds into model bounds.- Specified by:
worldBounds2modelSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aBounds
- bounds in world reference system.aEditableBounds
- bounds in model reference system upon completion of the method.- Throws:
TLcdOutOfBoundsException
- if the world bounds are outside the valid area of the projection, or if it isundefined
.
-