Package com.luciad.transformation
Class TLcdMapWorldMapWorldTransformation
java.lang.Object
com.luciad.transformation.TLcdMapWorldMapWorldTransformation
- All Implemented Interfaces:
ILcdXYWorldXYWorldTransformation,Serializable
public class TLcdMapWorldMapWorldTransformation
extends Object
implements ILcdXYWorldXYWorldTransformation
This
ILcdXYWorldXYWorldTransformation defines a transformation between
an ILcdXYWorldReference and an ILcdXYWorldReference.
It is required that the reference datum of the geodetic datum of the
ILcdXYWorldReference and the reference datum of the
ILcdXYWorldReference are the same.
Both instances are expected to be also implementations of ILcdGridReference.
This class is thread safe.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor with no source and no destinationILcdXYWorldReference.TLcdMapWorldMapWorldTransformation(ILcdXYWorldReference aSourceXYWorldReference, ILcdXYWorldReference aDestinationXYWorldReference) Constructor with source and destinationILcdXYWorldReference. -
Method Summary
Modifier and TypeMethodDescriptionGets the destinationILcdXYWorldReferenceworld reference system.Gets the sourceILcdXYWorldReferenceworld reference system.voidsetDestXYWorldReference(ILcdXYWorldReference aDestinationXYWorldReference) TheILcdXYWorldReferenceis expected to be also an implementation ofILcdGridReference.voidsetSourceXYWorldReference(ILcdXYWorldReference aSourceXYWorldReference) TheILcdXYWorldReferenceis expected to be also an implementation ofILcdGridReference.voidsourceWorldBounds2DestWorldSFCT(ILcdBounds aSourceXYBounds, ILcd2DEditableBounds aDestXYBounds) Transforms world bounds from the source coordinate system to the destination coordinate system.voidsourceWorldPoint2DestWorldSFCT(ILcdPoint aSourceXYPoint, ILcd2DEditablePoint aDestXYPoint) Transforms a world point from the source coordinate system to the destination coordinate system.
-
Constructor Details
-
TLcdMapWorldMapWorldTransformation
public TLcdMapWorldMapWorldTransformation()Default constructor with no source and no destinationILcdXYWorldReference. -
TLcdMapWorldMapWorldTransformation
public TLcdMapWorldMapWorldTransformation(ILcdXYWorldReference aSourceXYWorldReference, ILcdXYWorldReference aDestinationXYWorldReference) Constructor with source and destinationILcdXYWorldReference.- Parameters:
aSourceXYWorldReference- the source ILcdXYWorldReference which should be also an implementation ofILcdGridReference.aDestinationXYWorldReference- the destination ILcdXYWorldReference which should be also an implementation ofILcdGridReference.
-
-
Method Details
-
getSourceXYWorldReference
Description copied from interface:ILcdXYWorldXYWorldTransformationGets the sourceILcdXYWorldReferenceworld reference system.- Specified by:
getSourceXYWorldReferencein interfaceILcdXYWorldXYWorldTransformation- Returns:
- the source
ILcdXYWorldReferenceworld reference system. - See Also:
-
setSourceXYWorldReference
TheILcdXYWorldReferenceis expected to be also an implementation ofILcdGridReference.- Specified by:
setSourceXYWorldReferencein interfaceILcdXYWorldXYWorldTransformation- Parameters:
aSourceXYWorldReference- the new sourceILcdXYWorldReferenceworld reference system.- See Also:
-
getDestXYWorldReference
Description copied from interface:ILcdXYWorldXYWorldTransformationGets the destinationILcdXYWorldReferenceworld reference system.- Specified by:
getDestXYWorldReferencein interfaceILcdXYWorldXYWorldTransformation- Returns:
- the destination
ILcdXYWorldReferenceworld reference system. - See Also:
-
setDestXYWorldReference
TheILcdXYWorldReferenceis expected to be also an implementation ofILcdGridReference.- Specified by:
setDestXYWorldReferencein interfaceILcdXYWorldXYWorldTransformation- Parameters:
aDestinationXYWorldReference- he new destinationILcdXYWorldReferenceworld reference system.- See Also:
-
sourceWorldPoint2DestWorldSFCT
public void sourceWorldPoint2DestWorldSFCT(ILcdPoint aSourceXYPoint, ILcd2DEditablePoint aDestXYPoint) throws TLcdOutOfBoundsException Description copied from interface:ILcdXYWorldXYWorldTransformationTransforms a world point from the source coordinate system to the destination coordinate system.- Specified by:
sourceWorldPoint2DestWorldSFCTin interfaceILcdXYWorldXYWorldTransformation- Parameters:
aSourceXYPoint- source world reference system coordinate.aDestXYPoint- destination world reference system coordinate as side effect upon completion of the method.- Throws:
TLcdOutOfBoundsException- TheILcd2DEditablePointpoint is outside the valid area of the source or the destination projection coordinate system.
-
sourceWorldBounds2DestWorldSFCT
public void sourceWorldBounds2DestWorldSFCT(ILcdBounds aSourceXYBounds, ILcd2DEditableBounds aDestXYBounds) throws TLcdOutOfBoundsException Description copied from interface:ILcdXYWorldXYWorldTransformationTransforms world bounds from the source coordinate system to the destination coordinate system.- Specified by:
sourceWorldBounds2DestWorldSFCTin interfaceILcdXYWorldXYWorldTransformation- Parameters:
aSourceXYBounds- source world reference system bounds object.aDestXYBounds- destination world reference system bounds object as side effect upon completion of the method.- Throws:
TLcdOutOfBoundsException-ILcd2DEditableBoundsis outside the valid area of the source or the destination projection coordinate system, or if it isundefined.
-