public class IlvGeocentricCoordinateSystem extends IlvCoordinateSystem
Modifier and Type | Field and Description |
---|---|
static IlvGeocentricCoordinateSystem |
KERNEL
The default geocentric coordinate system, with units in meters and
the WGS84 datum.
|
Constructor and Description |
---|
IlvGeocentricCoordinateSystem(IlvGeocentricCoordinateSystem source)
Constructs a new
IlvCoordinateSystem by copying an existing one. |
IlvGeocentricCoordinateSystem(IlvInputStream stream)
Reads the object from an
IlvInputStream object. |
IlvGeocentricCoordinateSystem(String name,
IlvLinearUnit unit,
IlvHorizontalDatum datum)
Constructs a new geocentric coordinate system.
|
Modifier and Type | Method and Description |
---|---|
IlvCoordinateSystem |
copy()
Returns a copy of this coordinate system.
|
boolean |
equals(Object other)
Returns
true if this coordinate system is equal to
the specified coordinate system. |
IlvHorizontalDatum |
getHorizontalDatum()
Returns the horizontal datum of this geocentric coordinate system.
|
IlvLinearUnit |
getLinearUnit()
Returns the linear unit.
|
String |
toString()
Returns a string representation for this coordinate system.
|
void |
write(IlvOutputStream stream)
Writes the object to the specified
IlvOutputStream . |
getAxisName, getDimension, getName, getUnit, toString
public static final IlvGeocentricCoordinateSystem KERNEL
public IlvGeocentricCoordinateSystem(String name, IlvLinearUnit unit, IlvHorizontalDatum datum)
datum
parameter specifies a datum whose ellipsoid
is not used. Only the datum shifts are significant.name
- The name of the coordinate system.unit
- The linear unit of the coordinate system.datum
- The datum for the coordinate system.public IlvGeocentricCoordinateSystem(IlvGeocentricCoordinateSystem source)
IlvCoordinateSystem
by copying an existing one.source
- The source coordinate system.public IlvGeocentricCoordinateSystem(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
object.stream
- The input stream.IlvReadFileException
- If the format is not correct.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
write
in class IlvCoordinateSystem
stream
- The stream to write this unit to.IOException
- If an I/O error occurs.public IlvCoordinateSystem copy()
copy
in class IlvCoordinateSystem
public IlvLinearUnit getLinearUnit()
public IlvHorizontalDatum getHorizontalDatum()
public String toString()
public boolean equals(Object other)
true
if this coordinate system is equal to
the specified coordinate system.equals
in class IlvCoordinateSystem
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.