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
ConstructorDescriptionDefault constructor with no source and no destinationILcdXYWorldReference
.TLcdMapWorldMapWorldTransformation
(ILcdXYWorldReference aSourceXYWorldReference, ILcdXYWorldReference aDestinationXYWorldReference) Constructor with source and destinationILcdXYWorldReference
. -
Method Summary
Modifier and TypeMethodDescriptionGets the destinationILcdXYWorldReference
world reference system.Gets the sourceILcdXYWorldReference
world reference system.void
setDestXYWorldReference
(ILcdXYWorldReference aDestinationXYWorldReference) TheILcdXYWorldReference
is expected to be also an implementation ofILcdGridReference
.void
setSourceXYWorldReference
(ILcdXYWorldReference aSourceXYWorldReference) TheILcdXYWorldReference
is expected to be also an implementation ofILcdGridReference
.void
sourceWorldBounds2DestWorldSFCT
(ILcdBounds aSourceXYBounds, ILcd2DEditableBounds aDestXYBounds) Transforms world bounds from the source coordinate system to the destination coordinate system.void
sourceWorldPoint2DestWorldSFCT
(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:ILcdXYWorldXYWorldTransformation
Gets the sourceILcdXYWorldReference
world reference system.- Specified by:
getSourceXYWorldReference
in interfaceILcdXYWorldXYWorldTransformation
- Returns:
- the source
ILcdXYWorldReference
world reference system. - See Also:
-
setSourceXYWorldReference
TheILcdXYWorldReference
is expected to be also an implementation ofILcdGridReference
.- Specified by:
setSourceXYWorldReference
in interfaceILcdXYWorldXYWorldTransformation
- Parameters:
aSourceXYWorldReference
- the new sourceILcdXYWorldReference
world reference system.- See Also:
-
getDestXYWorldReference
Description copied from interface:ILcdXYWorldXYWorldTransformation
Gets the destinationILcdXYWorldReference
world reference system.- Specified by:
getDestXYWorldReference
in interfaceILcdXYWorldXYWorldTransformation
- Returns:
- the destination
ILcdXYWorldReference
world reference system. - See Also:
-
setDestXYWorldReference
TheILcdXYWorldReference
is expected to be also an implementation ofILcdGridReference
.- Specified by:
setDestXYWorldReference
in interfaceILcdXYWorldXYWorldTransformation
- Parameters:
aDestinationXYWorldReference
- he new destinationILcdXYWorldReference
world reference system.- See Also:
-
sourceWorldPoint2DestWorldSFCT
public void sourceWorldPoint2DestWorldSFCT(ILcdPoint aSourceXYPoint, ILcd2DEditablePoint aDestXYPoint) throws TLcdOutOfBoundsException Description copied from interface:ILcdXYWorldXYWorldTransformation
Transforms a world point from the source coordinate system to the destination coordinate system.- Specified by:
sourceWorldPoint2DestWorldSFCT
in interfaceILcdXYWorldXYWorldTransformation
- Parameters:
aSourceXYPoint
- source world reference system coordinate.aDestXYPoint
- destination world reference system coordinate as side effect upon completion of the method.- Throws:
TLcdOutOfBoundsException
- TheILcd2DEditablePoint
point 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:ILcdXYWorldXYWorldTransformation
Transforms world bounds from the source coordinate system to the destination coordinate system.- Specified by:
sourceWorldBounds2DestWorldSFCT
in 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
-ILcd2DEditableBounds
is outside the valid area of the source or the destination projection coordinate system, or if it isundefined
.
-