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
ConstructorsConstructorDescriptionCreates a newTLcdCompositeModelXYZWorldTransformationwithout a wrapped xy- and z transformation.TLcdCompositeModelXYZWorldTransformation(ILcdModelXYWorldTransformation aWrappedTransformation, ILcdModelZWorldTransformation aZTransformation) Creates a newTLcdCompositeModelXYZWorldTransformationwith the given xy- and z transformation. -
Method Summary
Modifier and TypeMethodDescriptionGets the model reference of thisILcdModelXYZWorldTransformation.Gets the world reference of thisILcdModelXYZWorldTransformation.voidmodelBounds2worldSFCT(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) Transforms model bounds into world bounds.voidmodelPoint2worldSFCT(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) Transforms a model point into a world point.voidsetModelReference(ILcdModelReference aReference) Sets the model reference of thisILcdModelXYZWorldTransformation.voidsetXYTransformation(ILcdModelXYWorldTransformation aXYTransformation) Sets the wrapped xy transformation.voidsetXYZWorldReference(ILcdXYZWorldReference aReference) Sets the world reference of thisILcdModelXYZWorldTransformation.voidsetZTransformation(ILcdModelZWorldTransformation aZTransformation) Sets the wrapped z transformation.voidworldBounds2modelSFCT(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) Transforms world bounds into model bounds.voidworldPoint2modelSFCT(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) Transforms a world point into a model point.
-
Constructor Details
-
TLcdCompositeModelXYZWorldTransformation
public TLcdCompositeModelXYZWorldTransformation()Creates a newTLcdCompositeModelXYZWorldTransformationwithout 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 newTLcdCompositeModelXYZWorldTransformationwith 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:ILcdModelXYZWorldTransformationSets the model reference of thisILcdModelXYZWorldTransformation.- Specified by:
setModelReferencein interfaceILcdModelXYZWorldTransformation- Parameters:
aReference- the model reference to be used in thisILcdModelXYZWorldTransformation.- See Also:
-
getModelReference
Description copied from interface:ILcdModelXYZWorldTransformationGets the model reference of thisILcdModelXYZWorldTransformation.- Specified by:
getModelReferencein interfaceILcdModelXYZWorldTransformation- Returns:
- the model reference of this
ILcdModelXYZWorldTransformation. - See Also:
-
setXYZWorldReference
Description copied from interface:ILcdModelXYZWorldTransformationSets the world reference of thisILcdModelXYZWorldTransformation.- Specified by:
setXYZWorldReferencein interfaceILcdModelXYZWorldTransformation- Parameters:
aReference- the world reference to be used in thisILcdModelXYZWorldTransformation.- See Also:
-
getXYZWorldReference
Description copied from interface:ILcdModelXYZWorldTransformationGets the world reference of thisILcdModelXYZWorldTransformation.- Specified by:
getXYZWorldReferencein interfaceILcdModelXYZWorldTransformation- Returns:
- the world reference of this
ILcdModelXYZWorldTransformation. - See Also:
-
modelPoint2worldSFCT
public void modelPoint2worldSFCT(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYZWorldTransformationTransforms a model point into a world point.- Specified by:
modelPoint2worldSFCTin 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:ILcdModelXYZWorldTransformationTransforms a world point into a model point.- Specified by:
worldPoint2modelSFCTin 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:ILcdModelXYZWorldTransformationTransforms model bounds into world bounds.- Specified by:
modelBounds2worldSFCTin 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:ILcdModelXYZWorldTransformationTransforms world bounds into model bounds.- Specified by:
worldBounds2modelSFCTin 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.
-