public class IlvHorizontalShiftDatum extends IlvHorizontalDatum
IlvHorizontalShiftDatum
object is based on the shift
parameters relative to the WGS84 datum used by the Molodensky formula.
system. Parameters for various datum can be found on this
page .IlvMolodenskyConverter
,
Serialized FormModifier and Type | Field and Description |
---|---|
static IlvHorizontalShiftDatum |
SPHERE_WGS84
A convenient datum with a 6370997 m radius sphere as ellipsoid, and
no shifts.
|
static IlvHorizontalShiftDatum |
WGS84
The WGS84 datum.
|
Constructor and Description |
---|
IlvHorizontalShiftDatum(IlvInputStream stream)
Reads the object from an
IlvInputStream . |
IlvHorizontalShiftDatum(String name,
String regionOfUse,
IlvEllipsoid ellipsoid,
double dx,
double dy,
double dz)
Initializes an instance of the
IlvHorizontalDatum class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Returns
true if the specified datum is equal to this
datum. |
boolean |
equivalent(IlvHorizontalDatum d)
Returns
true if the datum passed as the argument
is equivalent to the object. |
double |
getDX()
Returns the shift on the x-axis, in meters.
|
double |
getDY()
Returns the shift on the y-axis, in meters.
|
double |
getDZ()
Returns the shift on the z-axis, in meters.
|
String |
getRegionOfUse()
Returns the region where the datum is used.
|
void |
write(IlvOutputStream stream)
Writes the object into an
IlvOutputStream . |
GetConverterFactory, getEllipsoid, getName, SetConverterFactory, toString
public static final IlvHorizontalShiftDatum WGS84
public static final IlvHorizontalShiftDatum SPHERE_WGS84
public IlvHorizontalShiftDatum(String name, String regionOfUse, IlvEllipsoid ellipsoid, double dx, double dy, double dz)
IlvHorizontalDatum
class.name
- Name of the datum.regionOfUse
- String describing where the datum is used.dx
- Shift on the x
axis, in meters.dy
- Shift on the y
axis, in meters.dz
- Shift on the z
axis, in meters.public IlvHorizontalShiftDatum(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.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 IlvHorizontalDatum
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.public final String getRegionOfUse()
public final double getDX()
public final double getDY()
public final double getDZ()
public boolean equals(Object object)
true
if the specified datum is equal to this
datum.equals
in class IlvHorizontalDatum
object
- The object to compare.equivalent(ilog.views.maps.projection.IlvHorizontalDatum)
public boolean equivalent(IlvHorizontalDatum d)
true
if the datum passed as the argument
is equivalent to the object.equivalent
in class IlvHorizontalDatum
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.