public class IlvGeographicCoordinateSystem extends IlvCoordinateSystem
| Modifier and Type | Field and Description |
|---|---|
static IlvGeographicCoordinateSystem |
KERNEL
The Kernel geographic coordinate.
|
static IlvGeographicCoordinateSystem |
WGS84
The WGS84 Geographic Coordinate System.
|
| Modifier | Constructor and Description |
|---|---|
|
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. |
| Modifier and Type | Method and Description |
|---|---|
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. |
getAxisName, getDimension, getName, getUnit, toStringpublic static final IlvGeographicCoordinateSystem KERNEL
public static final IlvGeographicCoordinateSystem WGS84
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.IlvReadFileExceptionpublic 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()
public IlvLinearUnit equivalentLinearUnit()
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.