public class TLcdMapWorldMapWorldTransformation extends Object implements ILcdXYWorldXYWorldTransformation
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.
TLcdGeodeticDatum.getRefDatum()
,
Serialized FormConstructor and Description |
---|
TLcdMapWorldMapWorldTransformation()
Default constructor with no source and no destination
ILcdXYWorldReference . |
TLcdMapWorldMapWorldTransformation(ILcdXYWorldReference aSourceXYWorldReference,
ILcdXYWorldReference aDestinationXYWorldReference)
Constructor with source and destination
ILcdXYWorldReference . |
Modifier and Type | Method and Description |
---|---|
ILcdXYWorldReference |
getDestXYWorldReference()
Gets the destination
ILcdXYWorldReference world reference system. |
ILcdXYWorldReference |
getSourceXYWorldReference()
Gets the source
ILcdXYWorldReference world reference system. |
void |
setDestXYWorldReference(ILcdXYWorldReference aDestinationXYWorldReference)
The
ILcdXYWorldReference is expected to be also an implementation of ILcdGridReference . |
void |
setSourceXYWorldReference(ILcdXYWorldReference aSourceXYWorldReference)
The
ILcdXYWorldReference is expected to be also an implementation of ILcdGridReference . |
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.
|
public TLcdMapWorldMapWorldTransformation()
ILcdXYWorldReference
.public TLcdMapWorldMapWorldTransformation(ILcdXYWorldReference aSourceXYWorldReference, ILcdXYWorldReference aDestinationXYWorldReference)
ILcdXYWorldReference
.aSourceXYWorldReference
- the source ILcdXYWorldReference which should be also an implementation of ILcdGridReference
.aDestinationXYWorldReference
- the destination ILcdXYWorldReference which should be also an implementation of ILcdGridReference
.public ILcdXYWorldReference getSourceXYWorldReference()
ILcdXYWorldXYWorldTransformation
ILcdXYWorldReference
world reference system.getSourceXYWorldReference
in interface ILcdXYWorldXYWorldTransformation
ILcdXYWorldReference
world reference system.ILcdXYWorldXYWorldTransformation.setSourceXYWorldReference(com.luciad.view.ILcdXYWorldReference)
public void setSourceXYWorldReference(ILcdXYWorldReference aSourceXYWorldReference)
ILcdXYWorldReference
is expected to be also an implementation of ILcdGridReference
.setSourceXYWorldReference
in interface ILcdXYWorldXYWorldTransformation
aSourceXYWorldReference
- the new source ILcdXYWorldReference
world reference system.getSourceXYWorldReference()
public ILcdXYWorldReference getDestXYWorldReference()
ILcdXYWorldXYWorldTransformation
ILcdXYWorldReference
world reference system.getDestXYWorldReference
in interface ILcdXYWorldXYWorldTransformation
ILcdXYWorldReference
world reference system.ILcdXYWorldXYWorldTransformation.setDestXYWorldReference(com.luciad.view.ILcdXYWorldReference)
public void setDestXYWorldReference(ILcdXYWorldReference aDestinationXYWorldReference)
ILcdXYWorldReference
is expected to be also an implementation of ILcdGridReference
.setDestXYWorldReference
in interface ILcdXYWorldXYWorldTransformation
aDestinationXYWorldReference
- he new destination ILcdXYWorldReference
world reference system.getDestXYWorldReference()
public void sourceWorldPoint2DestWorldSFCT(ILcdPoint aSourceXYPoint, ILcd2DEditablePoint aDestXYPoint) throws TLcdOutOfBoundsException
ILcdXYWorldXYWorldTransformation
sourceWorldPoint2DestWorldSFCT
in interface ILcdXYWorldXYWorldTransformation
aSourceXYPoint
- source world reference system coordinate.aDestXYPoint
- destination world reference system coordinate as side effect upon completion of the method.TLcdOutOfBoundsException
- The ILcd2DEditablePoint
point is outside the valid area
of the source or the destination projection coordinate system.public void sourceWorldBounds2DestWorldSFCT(ILcdBounds aSourceXYBounds, ILcd2DEditableBounds aDestXYBounds) throws TLcdOutOfBoundsException
ILcdXYWorldXYWorldTransformation
sourceWorldBounds2DestWorldSFCT
in interface ILcdXYWorldXYWorldTransformation
aSourceXYBounds
- source world reference system bounds object.aDestXYBounds
- destination world reference system bounds object as side effect upon completion of the method.TLcdOutOfBoundsException
- ILcd2DEditableBounds
is outside the valid area of the
source or the destination projection coordinate system, or if it is undefined
.