|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.projection.IlvProjection
ilog.views.maps.projection.IlvTransverseMercatorProjection
ilog.views.maps.projection.IlvUniversalTransverseMercatorProjection
public class IlvUniversalTransverseMercatorProjection
This class defines Universal Transverse Mercator projections, also known as the UTM projection. The UTM projection is a pre-configured form of the Transverse Mercator projection. It is usually used with non-spherical ellipsoids. UTM projections usually apply to 6 degree longitudinal strips extending from 84S to 80N. These strips are called UTM zones, with Zone 1 starting at 180W and Zone 60 ending at 180E. The central meridian is constrained to 6 degree intervals starting at 3 degrees. The projection automatically adjusts to the value which is nearest to the user's entry. A false easting of 500 000 meters is automatically added.
IlvUniversalPolarStereographicProjection,
Serialized Form| Field Summary |
|---|
| Fields inherited from class ilog.views.maps.projection.IlvProjection |
|---|
CONFORMAL, EQUAL_AREA, NONE |
| Constructor Summary | |
|---|---|
IlvUniversalTransverseMercatorProjection()
Creates an instance of the class IlvUniversalTransverseMercatorProjection. |
|
IlvUniversalTransverseMercatorProjection(double lon)
Creates an instance of the IlvUniverseTransverseMercatorProjection
and specifies the central meridian. |
|
IlvUniversalTransverseMercatorProjection(IlvInputStream stream)
Reads the object from an IlvInputStream. |
|
IlvUniversalTransverseMercatorProjection(IlvUniversalTransverseMercatorProjection source)
Creates a new IlvUniversalTransverseMercatorProjection
by copying an existing one. |
|
IlvUniversalTransverseMercatorProjection(int zone)
Creates an instance of the class IlvUniversalTransverseMercatorProjection and specifies
the UTM zone. |
|
| Method Summary | |
|---|---|
IlvProjection |
copy()
Copies the projection. |
int |
getZone()
Returns the UTM zone to which the projection applies. |
boolean |
isSouth()
Returns true if the projection is set for applications portraying the southern hemisphere. |
void |
setLLCenter(double lon,
double lat)
Specifies the central meridian of the projection. |
void |
setScaleFactor(double k0)
Does nothing. |
void |
setSouth(boolean south)
In applications portraying the southern hemisphere, this function should be called with a true argument. |
void |
setZone(int zone)
Sets the UTM zone to which the projection applies. |
String |
toString()
Converts the projection to a string with Evenden's format. |
void |
write(IlvOutputStream stream)
Writes the object to an IlvOutputStream. |
| Methods inherited from class ilog.views.maps.projection.IlvTransverseMercatorProjection |
|---|
eForward, eInverse, getScaleFactor, setEllipsoid, sForward, sInverse |
| Methods inherited from class ilog.views.maps.projection.IlvProjection |
|---|
addDescription, adjustLongitude, equals, forward, forward, getCentralMeridian, getCentralParallel, getDatum, getEllipsoid, getFalseEasting, getFalseNorthing, GetProjection, getProperty, getUnit, getXYOffset, inverse, inverse, inverse, isEllipsoidEnabled, isGeocentric, isInverseEnabled, isUsingLongitudeReduction, setCentralMeridian, setCentralParallel, setDatum, setFalseEasting, setFalseNorthing, setGeocentric, setUnit, setUsingLongitudeReduction, setXYOffset |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvUniversalTransverseMercatorProjection()
IlvUniversalTransverseMercatorProjection.
The UTM zone is set to 30.
The ellipsoid is set to the WGS84 ellipsoid.
public IlvUniversalTransverseMercatorProjection(int zone)
throws IlvBadProjectionParameter
IlvUniversalTransverseMercatorProjection and specifies
the UTM zone.
The ellipsoid is set to the WGS84 ellipsoid.
zone - the UTM zone to which the projection applies.
IlvBadProjectionParameter - if an invalid UTM zone is specified.public IlvUniversalTransverseMercatorProjection(double lon)
IlvUniverseTransverseMercatorProjection
and specifies the central meridian.
The ellipsoid is set to the WGS84 ellipsoid.
lon - the zone will be adjusted to the nearest UTM zone at the
specified longitude.
public IlvUniversalTransverseMercatorProjection(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
stream - the input stream.
IlvReadFileException - if the format is not correct.public IlvUniversalTransverseMercatorProjection(IlvUniversalTransverseMercatorProjection source)
IlvUniversalTransverseMercatorProjection
by copying an existing one.
source - the projection that is copied.| Method Detail |
|---|
public IlvProjection copy()
copy in class IlvTransverseMercatorProjectionpublic void setSouth(boolean south)
south - if true, a false northing of 10 000 000 m is addedpublic final boolean isSouth()
setSouth(boolean)
public void setZone(int zone)
throws IlvBadProjectionParameter
zone - the zone index (between 1 and 60)
IlvBadProjectionParameter - if an invalid UTM zone is specified.
public void setLLCenter(double lon,
double lat)
setLLCenter in class IlvProjectionlon - the central meridian in radianslat - ignored. The central latitude of an UTM projection is always 0.IlvProjectionUtil.DegreeToRadian(double),
IlvProjectionUtil.DMSToRadian(java.lang.String)public int getZone()
setZone(int)public void setScaleFactor(double k0)
setScaleFactor in class IlvTransverseMercatorProjectionk0 - ignored
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvTransverseMercatorProjectionstream - the output stream.
IOException - thrown when an exception occurs during
the write operation for this object.public String toString()
toString in class IlvTransverseMercatorProjection
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||