Package com.luciad.projection
Class TLcdUTM
java.lang.Object
com.luciad.projection.TLcdUTM
- All Implemented Interfaces:
ILcdCompositeProjection
,Serializable
Deprecated.
Universal Transverse Mercator projection.
Introduction
This projection is used for the UTM grid system. Within this system the earth is divided in several zones, each of which is based on a specifically defined transverse Mercator projection.
The valid area for this projection is between NORTH_LAT_LIMIT and SOUTH_LAT_LIMIT latitude.
Sample code
int projectionIndex = utm.retrieveZone( new TLcdLonLatPoint( -40.0, 20.0 ) );
ILcdProjection projection =
utm.retrieveProjection( projectionIndex );
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Deprecated.The northern limit for the valid area of this projection.static final double
Deprecated.The southern limit for the valid area of this projection. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
boundaryLats
(double aLon) Deprecated.The boundary latitudes are the same for all longitudes: -80 degrees south and 84 degrees north.double[]
boundaryLons
(double aLat) Deprecated.The UTM composite projection spans the whole longitude interval, -180 to 180, irrespective of the latitude.Deprecated.Clones thisILcdCompositeProjection
.boolean
Deprecated.Checks if thisILcdCompositeProjection
is equal with another Object.int
Deprecated.Gets the number of zones.int
hashCode()
Deprecated.boolean
inLonLatBounds
(ILcdPoint aLLP) Deprecated.Checks if anILcdPoint
is inside the valid area of the composite projection.boolean
inWorldBoundsOnEllipsoid
(ILcdZonalPoint aXYZonalPoint, ILcdEllipsoid aEllipsoid) Deprecated.Checks if anILcdPoint
is inside the valid cartesian area of the composite projection.boolean
inWorldBoundsOnSphere
(ILcdZonalPoint aXYZonalPoint, double aRadius) Deprecated.Checks if anILcdPoint
is inside the valid cartesian area of the composite projection.boolean
Deprecated.Returns whether all lat-lon point are within the bounds of the composite projection.void
lonlatheight2worldOnEllipsoidSFCT
(ILcdPoint aLLHP, int aZone, ILcdEllipsoid aEllipsoid, ILcd2DEditableZonalPoint aZonalPointSFCT) Deprecated.Transforms anILcd2DEditablePoint
into a zonal cartesian coordinate of the projection.void
lonlatheight2worldOnEllipsoidSFCT
(ILcdPoint aLLHP, ILcdEllipsoid aEllipsoid, ILcd2DEditableZonalPoint aZonalPointSFCT) Deprecated.Transforms anILcd2DEditablePoint
into a zonal cartesian coordinate of the projection.void
lonlatheight2worldOnSphereSFCT
(ILcdPoint aLLHP, double aRadius, ILcd2DEditableZonalPoint aZonalPointSFCT) Deprecated.Transforms anILcd2DEditablePoint
into a zonal cartesian coordinate of the projection.void
lonlatheight2worldOnSphereSFCT
(ILcdPoint aLLHP, int aZone, double aRadius, ILcd2DEditableZonalPoint aZonalPointSFCT) Deprecated.Transforms aILcd2DEditablePoint
into a zonal cartesian coordinate of the projection of the given zone.retrieveProjection
(int aZone) Deprecated.Retrieves the projection for zoneaZone
.int
retrieveZone
(ILcdPoint aLLP) Deprecated.Return the zone id for the given model point.toString()
Deprecated.String representation of thisILcdCompositeProjection
.void
world2lonlatOnEllipsoidSFCT
(ILcdZonalPoint aXYZonalPoint, ILcdEllipsoid aEllipsoid, ILcd2DEditablePoint aLLPOut) Deprecated.Transforms aILcdZonalPoint
from the cartesian coordinate system of the projection into aILcd2DEditablePoint
on the ellipsoid.void
world2lonlatOnSphereSFCT
(ILcdZonalPoint aXYZonalPoint, double aRadius, ILcd2DEditablePoint aLLPOut) Deprecated.Transforms aILcdZonalPoint
from the cartesian coordinate system of the projection into aILcd2DEditablePoint
on the sphere.
-
Field Details
-
NORTH_LAT_LIMIT
public static final double NORTH_LAT_LIMITDeprecated.The northern limit for the valid area of this projection.- See Also:
-
SOUTH_LAT_LIMIT
public static final double SOUTH_LAT_LIMITDeprecated.The southern limit for the valid area of this projection.- See Also:
-
-
Constructor Details
-
TLcdUTM
public TLcdUTM()Deprecated.
-
-
Method Details
-
getNoOfZones
public int getNoOfZones()Deprecated.Description copied from interface:ILcdCompositeProjection
Gets the number of zones.- Specified by:
getNoOfZones
in interfaceILcdCompositeProjection
- Returns:
- noOfZones.
-
isAllInBounds
public boolean isAllInBounds()Deprecated.Description copied from interface:ILcdCompositeProjection
Returns whether all lat-lon point are within the bounds of the composite projection.- Specified by:
isAllInBounds
in interfaceILcdCompositeProjection
- Returns:
true
if all LonLatPoints are within the bounds of the projection,false
otherwise.
-
retrieveProjection
Deprecated.Description copied from interface:ILcdCompositeProjection
Retrieves the projection for zoneaZone
.- Specified by:
retrieveProjection
in interfaceILcdCompositeProjection
- Parameters:
aZone
- number of a zone; must be between 1 and the number of zones of the composite projection.- Returns:
- the
ILcdProjection
corresponding with the given zone ifaZone
is between 1 andnrOfZones
.
-
lonlatheight2worldOnSphereSFCT
public void lonlatheight2worldOnSphereSFCT(ILcdPoint aLLHP, double aRadius, ILcd2DEditableZonalPoint aZonalPointSFCT) throws TLcdOutOfBoundsException Deprecated.Description copied from interface:ILcdCompositeProjection
Transforms anILcd2DEditablePoint
into a zonal cartesian coordinate of the projection.- Specified by:
lonlatheight2worldOnSphereSFCT
in interfaceILcdCompositeProjection
- Parameters:
aLLHP
- geodetic coordinate.aRadius
- radius of the sphere (meters).aZonalPointSFCT
- projected zonal point as side effect.- Throws:
TLcdOutOfBoundsException
-aLLHP
is outside the area valid for this projection.
-
lonlatheight2worldOnEllipsoidSFCT
public void lonlatheight2worldOnEllipsoidSFCT(ILcdPoint aLLHP, ILcdEllipsoid aEllipsoid, ILcd2DEditableZonalPoint aZonalPointSFCT) throws TLcdOutOfBoundsException Deprecated.Description copied from interface:ILcdCompositeProjection
Transforms anILcd2DEditablePoint
into a zonal cartesian coordinate of the projection.- Specified by:
lonlatheight2worldOnEllipsoidSFCT
in interfaceILcdCompositeProjection
- Parameters:
aLLHP
- geodetic coordinate.aEllipsoid
- ellipsoidal representation of the earth.aZonalPointSFCT
- projected zonal point as side effect.- Throws:
TLcdOutOfBoundsException
-aLLHP
is outside the area valid for this projection.
-
lonlatheight2worldOnSphereSFCT
public void lonlatheight2worldOnSphereSFCT(ILcdPoint aLLHP, int aZone, double aRadius, ILcd2DEditableZonalPoint aZonalPointSFCT) throws TLcdOutOfBoundsException Deprecated.Description copied from interface:ILcdCompositeProjection
Transforms aILcd2DEditablePoint
into a zonal cartesian coordinate of the projection of the given zone.- Specified by:
lonlatheight2worldOnSphereSFCT
in interfaceILcdCompositeProjection
- Parameters:
aLLHP
- geodetic coordinate.aZone
- zone of the coordinate.aRadius
- radius of the sphere (meters).aZonalPointSFCT
- projected zonal point as side effect.- Throws:
TLcdOutOfBoundsException
-aLLHP
is outside the area valid for this projection.
-
lonlatheight2worldOnEllipsoidSFCT
public void lonlatheight2worldOnEllipsoidSFCT(ILcdPoint aLLHP, int aZone, ILcdEllipsoid aEllipsoid, ILcd2DEditableZonalPoint aZonalPointSFCT) throws TLcdOutOfBoundsException Deprecated.Description copied from interface:ILcdCompositeProjection
Transforms anILcd2DEditablePoint
into a zonal cartesian coordinate of the projection.- Specified by:
lonlatheight2worldOnEllipsoidSFCT
in interfaceILcdCompositeProjection
- Parameters:
aLLHP
- geodetic coordinate.aZone
- zone of the coordinate.aEllipsoid
- ellipsoidal representation of the earth.aZonalPointSFCT
- projected zonal point as side effect.- Throws:
TLcdOutOfBoundsException
-aLLHP
is outside the area valid for this projection.
-
world2lonlatOnSphereSFCT
public void world2lonlatOnSphereSFCT(ILcdZonalPoint aXYZonalPoint, double aRadius, ILcd2DEditablePoint aLLPOut) throws TLcdOutOfBoundsException Deprecated.Description copied from interface:ILcdCompositeProjection
Transforms aILcdZonalPoint
from the cartesian coordinate system of the projection into aILcd2DEditablePoint
on the sphere.- Specified by:
world2lonlatOnSphereSFCT
in interfaceILcdCompositeProjection
- Parameters:
aXYZonalPoint
- projected zonal point for which the corresponding geodetic point is sought.aRadius
- radius of the sphere (meters).aLLPOut
- geodetic coordinate on the sphere as side effect.- Throws:
TLcdOutOfBoundsException
-aXYZonalPoint
is outside the area valid for this projection.
-
world2lonlatOnEllipsoidSFCT
public void world2lonlatOnEllipsoidSFCT(ILcdZonalPoint aXYZonalPoint, ILcdEllipsoid aEllipsoid, ILcd2DEditablePoint aLLPOut) throws TLcdOutOfBoundsException Deprecated.Description copied from interface:ILcdCompositeProjection
Transforms aILcdZonalPoint
from the cartesian coordinate system of the projection into aILcd2DEditablePoint
on the ellipsoid.- Specified by:
world2lonlatOnEllipsoidSFCT
in interfaceILcdCompositeProjection
- Parameters:
aXYZonalPoint
- projected zonal point for which the corresponding geodetic point is sought.aEllipsoid
- ellipsoidal representation of the earth.aLLPOut
- geodetic coordinate on the ellipsoid as side effect.- Throws:
TLcdOutOfBoundsException
-aXYZonalPoint
is outside the area valid for this projection.
-
retrieveZone
Deprecated.Description copied from interface:ILcdCompositeProjection
Return the zone id for the given model point.- Specified by:
retrieveZone
in interfaceILcdCompositeProjection
- Parameters:
aLLP
- the model point to find the zone for.- Returns:
- the zone to which the model point belongs.
- Throws:
TLcdOutOfBoundsException
- if the point is not within the valid area of the projection (visible area), then this exception is thrown.
-
inLonLatBounds
Deprecated.Checks if anILcdPoint
is inside the valid area of the composite projection.- Specified by:
inLonLatBounds
in interfaceILcdCompositeProjection
- Parameters:
aLLP
- the point to check for.- Returns:
- true if the Y value of the given point is between NORTH_LAT_LIMIT and SOUTH_LAT_LIMIT.
-
inWorldBoundsOnSphere
Deprecated.Description copied from interface:ILcdCompositeProjection
Checks if anILcdPoint
is inside the valid cartesian area of the composite projection.- Specified by:
inWorldBoundsOnSphere
in interfaceILcdCompositeProjection
- Parameters:
aXYZonalPoint
-ILcdZonalPoint
to be checked upon.aRadius
- Description of Parameter- Returns:
true
if valid,false
if invalid.
-
inWorldBoundsOnEllipsoid
Deprecated.Description copied from interface:ILcdCompositeProjection
Checks if anILcdPoint
is inside the valid cartesian area of the composite projection.- Specified by:
inWorldBoundsOnEllipsoid
in interfaceILcdCompositeProjection
- Parameters:
aXYZonalPoint
-ILcdZonalPoint
to be checked upon.aEllipsoid
- ellipsoidal representation of the earth.- Returns:
true
if valid,false
if invalid.
-
boundaryLons
public double[] boundaryLons(double aLat) Deprecated.The UTM composite projection spans the whole longitude interval, -180 to 180, irrespective of the latitude.- Specified by:
boundaryLons
in interfaceILcdCompositeProjection
- Parameters:
aLat
- not taken into account- Returns:
- -180 to 180.
-
boundaryLats
public double[] boundaryLats(double aLon) Deprecated.The boundary latitudes are the same for all longitudes: -80 degrees south and 84 degrees north.- Specified by:
boundaryLats
in interfaceILcdCompositeProjection
- Parameters:
aLon
- not taken into account.- Returns:
- -80 degrees south and 84 degrees north
-
toString
Deprecated.Description copied from interface:ILcdCompositeProjection
String representation of thisILcdCompositeProjection
.- Specified by:
toString
in interfaceILcdCompositeProjection
- Overrides:
toString
in classObject
- Returns:
- String representation of this
ILcdCompositeProjection
.
-
cloneAsILcdCompositeProjection
Deprecated.Description copied from interface:ILcdCompositeProjection
Clones thisILcdCompositeProjection
.- Specified by:
cloneAsILcdCompositeProjection
in interfaceILcdCompositeProjection
- Returns:
- Clone of this
ILcdCompositeProjection
.
-
equals
Deprecated.Description copied from interface:ILcdCompositeProjection
Checks if thisILcdCompositeProjection
is equal with another Object.- Specified by:
equals
in interfaceILcdCompositeProjection
- Overrides:
equals
in classObject
- Parameters:
aObject
- Object to compare to.- Returns:
- true if the Object is an instance of the same
ILcdCompositeProjection
class and having the same projection properties, false otherwise.
-
hashCode
public int hashCode()Deprecated.
-
TLcdUTMGridSystem
.