|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.srs.coordsys.IlvCoordinateSystem
ilog.views.maps.srs.coordsys.IlvGeographicCoordinateSystem
public class IlvGeographicCoordinateSystem
The base class for geographic coordinate systems. Geographic coordinate systems define coordinates using their longitude (angle from the prime meridian of the coordinate system), their latitude and eventually an height. The latitude can be either expressed in spherical angle from the equator (in which case, the altitude corresponds to the distance from the earth center) or as geodetic height, in which case the altitude corresponds to the ellipsoid height.
| Field Summary | |
|---|---|
static IlvGeographicCoordinateSystem |
KERNEL
The Kernel geographic coordinate. |
static IlvGeographicCoordinateSystem |
WGS84
The WGS84 Geographic Coordinate System. |
| Constructor Summary | |
|---|---|
|
IlvGeographicCoordinateSystem(IlvGeographicCoordinateSystem source)
Copy constructor. |
|
IlvGeographicCoordinateSystem(IlvHorizontalDatum datum,
IlvMeridian primeMeridian)
Creates a new IlvGeographicCoordinateSystem from the
specified datum. |
|
IlvGeographicCoordinateSystem(IlvInputStream stream)
Reads an IlvGeographicCoordinateSystem from the specified
input stream. |
|
IlvGeographicCoordinateSystem(String name,
IlvHorizontalDatum datum,
IlvMeridian primeMeridian,
IlvAngularUnit angularUnit,
IlvLinearUnit linearUnit)
Creates a new IlvGeographicCoordinateSystem from the
specified datum. |
protected |
IlvGeographicCoordinateSystem(String name,
IlvMeridian primeMeridian,
IlvUnit[] units,
String[] axisNames,
IlvHorizontalDatum datum)
Constructs a new IlvGeographicCoordinateSystem using the
specified parameters. |
| Method Summary | |
|---|---|
IlvCoordinateSystem |
copy()
Returns a new copy of this coordinate system. |
boolean |
equals(Object other)
Returns true if this coordinate system is equivalent to
the specified coordinate system. |
IlvLinearUnit |
equivalentLinearUnit()
Returns an equivalent linear unit at the equator. |
IlvHorizontalDatum |
getDatum()
Returns the datum of this coordinate system. |
IlvMeridian |
getPrimeMeridian()
Returns the prime meridian. |
String |
toString()
Returns a string representation of this coordinate system. |
void |
write(IlvOutputStream stream)
Writes the object to the specified IlvOutputStream. |
| Methods inherited from class ilog.views.maps.srs.coordsys.IlvCoordinateSystem |
|---|
getAxisName, getDimension, getName, getUnit, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final IlvGeographicCoordinateSystem KERNEL
public static final IlvGeographicCoordinateSystem WGS84
| Constructor Detail |
|---|
public IlvGeographicCoordinateSystem(IlvHorizontalDatum datum,
IlvMeridian primeMeridian)
IlvGeographicCoordinateSystem from the
specified datum. The created coordinate system describes 2D coordinates on
an ellipsoid, expressed in the same unit as the primeMeridian.
The created geographic coordinate system has a dimension of 2 and maps
the coordinates in the following way:
x field of
IlvCoordinate.
y field of
IlvCoordinate.
z field of IlvCoordinate is not used.
datum - The datum.primeMeridian - The prime meridian of this coordinate system.
public IlvGeographicCoordinateSystem(String name,
IlvHorizontalDatum datum,
IlvMeridian primeMeridian,
IlvAngularUnit angularUnit,
IlvLinearUnit linearUnit)
IlvGeographicCoordinateSystem from the
specified datum. The created coordinate system describes 2D or 3D
coordinates on an ellipsoid; angles are expressed in the specified
angular unit, and lengths are expressed in the specified linear unit.
The created geographic coordinate system has a dimension of 2 or 3 and
maps coordinates the following way:
x field of
IlvCoordinate.
y field of
IlvCoordinate.
linearUnit is non-null, the ellipsoidal height is
stored in the z field of the IlvCoordinate. If
linearUnit is null, the z field of
IlvCoordinate is not used.
name - The name of the geographic coordinate system.datum - The datum.primeMeridian - The prime meridian of this coordinate system.angularUnit - The unit used to measure angles.linearUnit - The unit used to measure lengths.
protected IlvGeographicCoordinateSystem(String name,
IlvMeridian primeMeridian,
IlvUnit[] units,
String[] axisNames,
IlvHorizontalDatum datum)
IlvGeographicCoordinateSystem using the
specified parameters.
public IlvGeographicCoordinateSystem(IlvGeographicCoordinateSystem source)
source - The source coordinate system.
public IlvGeographicCoordinateSystem(IlvInputStream stream)
throws IlvReadFileException
IlvGeographicCoordinateSystem from the specified
input stream.
IlvReadFileException| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvCoordinateSystemstream - The stream to write this unit to.
IOException - If an I/O error occurs.public IlvMeridian getPrimeMeridian()
public IlvHorizontalDatum getDatum()
public IlvCoordinateSystem copy()
copy in class IlvCoordinateSystempublic boolean equals(Object other)
true if this coordinate system is equivalent to
the specified coordinate system.
equals in class IlvCoordinateSystempublic String toString()
toString in class Objectpublic IlvLinearUnit equivalentLinearUnit()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||