Package com.luciad.transformation
Class TLcdIdentityModelXYWorldTransformation
java.lang.Object
com.luciad.transformation.TLcdIdentityModelXYWorldTransformation
- All Implemented Interfaces:
ILcdModelXYWorldTransformation,ILcdCloneable,Serializable,Cloneable
public class TLcdIdentityModelXYWorldTransformation
extends Object
implements ILcdModelXYWorldTransformation
This ILcdModelXYWorldTransformation defines an identify transformation between
an ILcdModelReference and an ILcdXYWorldReference.
This implementation doesn't perform any transformation. It is a unitary operation,
assuming that the ILcdModelReference and the ILcdXYWorldReference
are the same coordinate system.
See TLcdDefaultModelXYWorldTransformation for a non-identity transformation that works with
all supported LuciadLightspeed references.
- Since:
- 2014.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor with a nullILcdModelReferenceand a nullILcdXYWorldReference.TLcdIdentityModelXYWorldTransformation(ILcdModelReference aModelReference, ILcdXYWorldReference aXYWorldReference) Default constructor with aILcdModelReferenceand aILcdXYWorldReference. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deep clone.Gets the model reference of thisILcdModelXYWorldTransformation.Gets the world reference of thisILcdModelXYWorldTransformation.voidmodelBounds2worldSFCT(ILcdBounds aModelBounds, ILcd2DEditableBounds aWorldBoundsSFCT) Transforms model bounds into world bounds.voidmodelPoint2worldSFCT(ILcdPoint aModelPoint, ILcd2DEditablePoint aWorldPointSFCT) Transforms a model point into a world point.voidsetModelReference(ILcdModelReference aModelReference) Sets the model reference of thisILcdModelXYWorldTransformation.voidsetXYWorldReference(ILcdXYWorldReference aXYWorldReference) Sets the world reference of thisILcdModelXYWorldTransformation.voidworldBounds2modelSFCT(ILcdBounds aWorldBounds, ILcd3DEditableBounds aModelBoundsSFCT) Transforms world bounds into model bounds.voidworldPoint2modelSFCT(ILcdPoint aWorldPoint, ILcd3DEditablePoint aModelPointSFCT) Transforms a world point into a model point.
-
Constructor Details
-
TLcdIdentityModelXYWorldTransformation
public TLcdIdentityModelXYWorldTransformation()Default constructor with a nullILcdModelReferenceand a nullILcdXYWorldReference. -
TLcdIdentityModelXYWorldTransformation
public TLcdIdentityModelXYWorldTransformation(ILcdModelReference aModelReference, ILcdXYWorldReference aXYWorldReference) Default constructor with aILcdModelReferenceand aILcdXYWorldReference.- Parameters:
aModelReference- the model referenceaXYWorldReference- the world reference
-
-
Method Details
-
getModelReference
Description copied from interface:ILcdModelXYWorldTransformationGets the model reference of thisILcdModelXYWorldTransformation.- Specified by:
getModelReferencein interfaceILcdModelXYWorldTransformation- Returns:
- the model reference of this
ILcdModelXYWorldTransformation. - See Also:
-
setModelReference
Description copied from interface:ILcdModelXYWorldTransformationSets the model reference of thisILcdModelXYWorldTransformation.- Specified by:
setModelReferencein interfaceILcdModelXYWorldTransformation- Parameters:
aModelReference- the model reference to be used in thisILcdModelXYWorldTransformation.- See Also:
-
getXYWorldReference
Description copied from interface:ILcdModelXYWorldTransformationGets the world reference of thisILcdModelXYWorldTransformation.- Specified by:
getXYWorldReferencein interfaceILcdModelXYWorldTransformation- Returns:
- the world reference of this
ILcdModelXYWorldTransformation. - See Also:
-
setXYWorldReference
Description copied from interface:ILcdModelXYWorldTransformationSets the world reference of thisILcdModelXYWorldTransformation.- Specified by:
setXYWorldReferencein interfaceILcdModelXYWorldTransformation- Parameters:
aXYWorldReference- the world reference to be used in thisILcdModelXYWorldTransformation.- See Also:
-
modelPoint2worldSFCT
public void modelPoint2worldSFCT(ILcdPoint aModelPoint, ILcd2DEditablePoint aWorldPointSFCT) throws TLcdOutOfBoundsException Transforms a model point into a world point.- Specified by:
modelPoint2worldSFCTin interfaceILcdModelXYWorldTransformation- Parameters:
aModelPoint- coordinate in model reference system.aWorldPointSFCT- 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 aWorldPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYWorldTransformationTransforms a world point into a model point.- Specified by:
worldPoint2modelSFCTin interfaceILcdModelXYWorldTransformation- Parameters:
aWorldPoint- coordinate in world reference system.aModelPointSFCT- 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 aModelBounds, ILcd2DEditableBounds aWorldBoundsSFCT) throws TLcdNoBoundsException Description copied from interface:ILcdModelXYWorldTransformationTransforms model bounds into world bounds.- Specified by:
modelBounds2worldSFCTin interfaceILcdModelXYWorldTransformation- Parameters:
aModelBounds- bounds in model reference system.aWorldBoundsSFCT- 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 aWorldBounds, ILcd3DEditableBounds aModelBoundsSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYWorldTransformationTransforms world bounds into model bounds.- Specified by:
worldBounds2modelSFCTin interfaceILcdModelXYWorldTransformation- Parameters:
aWorldBounds- bounds in world reference system.aModelBoundsSFCT- 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.
-
clone
Deep clone.- Specified by:
clonein interfaceILcdCloneable- Overrides:
clonein classObject- See Also:
-