public class TLcdGridReferenceUtil extends Object
Constructor and Description |
---|
TLcdGridReferenceUtil()
Constructor of
null ILcdGridReference . |
TLcdGridReferenceUtil(ILcdGridReference aGridReference)
Constructor of
TLcdGridReferenceUtil with a given
ILcdGridReference aModelRefGrid . |
Modifier and Type | Method and Description |
---|---|
ILcdGridReference |
getGridReference()
Gets the
ILcdGridReference of this TLcdGridReferenceUtil . |
ILcdGridReference |
getModelRefGrid()
Deprecated.
Replaced by the method
getGridReference since V 3.0. |
void |
grid2lonlatSFCT(double aX,
double aY,
ILcd2DEditablePoint a2DEditablePointSFCT)
Transformation of a grid coordinate to a lonLatHeight coordinate.
|
void |
grid2lonlatSFCT(ILcdPoint aXYPoint,
ILcd2DEditablePoint a2DEditablePointSFCT)
Transformation of a grid coordinate to a lonLatHeight coordinate.
|
void |
grid2worldSFCT(double aX,
double aY,
ILcd2DEditablePoint a2DEditablePointSFCT)
Transformation of a grid coordinate to a world coordinate.
|
void |
lonlat2gridSFCT(double aLon,
double aLat,
ILcd2DEditablePoint aXYPointSFCT)
Transformation of a lon-lat coordinate to a grid coordinate.
|
void |
lonlatheight2gridSFCT(ILcdPoint aLLHPoint,
ILcd2DEditablePoint aXYPointSFCT)
Transformation of a lon-lat coordinate to a grid coordinate.
|
void |
setGridReference(ILcdGridReference aGridReference)
Sets the
ILcdGridReference of this TLcdGridReferenceUtil
to aGridReference . |
void |
setModelRefGrid(ILcdGridReference aGridReference)
Deprecated.
Replaced by the method
setGridReference since V 3.0. |
void |
world2gridSFCT(ILcdPoint aWorldPoint,
ILcd2DEditablePoint aXYPointSFCT)
Transformation of a world coordinate to a grid coordinate.
|
public TLcdGridReferenceUtil()
null
ILcdGridReference
.public TLcdGridReferenceUtil(ILcdGridReference aGridReference)
TLcdGridReferenceUtil
with a given
ILcdGridReference
aModelRefGrid
.aGridReference
- the grid reference to use.public ILcdGridReference getGridReference()
ILcdGridReference
of this TLcdGridReferenceUtil
.ILcdGridReference
of this TLcdGridReferenceUtil
.setGridReference(com.luciad.reference.ILcdGridReference)
public void setGridReference(ILcdGridReference aGridReference)
ILcdGridReference
of this TLcdGridReferenceUtil
to aGridReference
.aGridReference
- the new grid reference system to be used.getGridReference()
public void setModelRefGrid(ILcdGridReference aGridReference)
setGridReference
since V 3.0.ILcdGridReference
of TLcdGridReferenceUtil
to aModelRefGrid
.aGridReference
- the new grid reference system to be used.getGridReference()
,
getModelRefGrid()
public ILcdGridReference getModelRefGrid()
getGridReference
since V 3.0.ILcdGridReference
of the TLcdGridReferenceUtil
.ILcdGridReference
of the TLcdGridReferenceUtil
.setGridReference(com.luciad.reference.ILcdGridReference)
,
setModelRefGrid(com.luciad.reference.ILcdGridReference)
public void grid2worldSFCT(double aX, double aY, ILcd2DEditablePoint a2DEditablePointSFCT)
aX
- the x-value of the grid coordinate.aY
- the y-value of the grid coordinate.a2DEditablePointSFCT
- the resulting world coordinate as side effect.public void world2gridSFCT(ILcdPoint aWorldPoint, ILcd2DEditablePoint aXYPointSFCT)
aWorldPoint
- a world coordinate.aXYPointSFCT
- the resulting grid coordinate as side effect.public void grid2lonlatSFCT(double aX, double aY, ILcd2DEditablePoint a2DEditablePointSFCT) throws TLcdOutOfBoundsException
aX
- the x-value of the grid coordinate.aY
- the y-value of the grid coordinate.a2DEditablePointSFCT
- the resulting geodetic coordinate on the ellipsoid
of the grid reference as side effect.TLcdOutOfBoundsException
- The grid point (aX,aY)
is outside the valid area
of the projection.public void grid2lonlatSFCT(ILcdPoint aXYPoint, ILcd2DEditablePoint a2DEditablePointSFCT) throws TLcdOutOfBoundsException
aXYPoint
- a grid coordinate.a2DEditablePointSFCT
- the resulting geodetic coordinate on the ellipsoid
of the grid reference as side effect.TLcdOutOfBoundsException
- The grid point (aX,aY)
is outside the valid area
of the projection.public void lonlat2gridSFCT(double aLon, double aLat, ILcd2DEditablePoint aXYPointSFCT) throws TLcdOutOfBoundsException
aLon
- longitude of the geodetic coordinate (in degrees).aLat
- latitude of the geodetic coordinate (in degrees).aXYPointSFCT
- the resulting grid coordinate as side effect.TLcdOutOfBoundsException
- The lon-lat point (aLon,aLat)
is outside the valid area
of the projection.public void lonlatheight2gridSFCT(ILcdPoint aLLHPoint, ILcd2DEditablePoint aXYPointSFCT) throws TLcdOutOfBoundsException
aLLHPoint
- a geodetic coordinate.aXYPointSFCT
- the resulting grid coordinate as side effect.TLcdOutOfBoundsException
- The lon-lat point (aLon,aLat)
is outside the valid area
of the projection.