public abstract class IlvHorizontalDatum extends Object implements Serializable, IlvPersistentObject
Modifier | Constructor and Description |
---|---|
protected |
IlvHorizontalDatum(IlvInputStream stream)
Reads an
IlvHorizontalDatum object from an
IlvInputStream . |
protected |
IlvHorizontalDatum(String name,
IlvEllipsoid ellipsoid)
Initializes an
IlvHorizontalDatum object, with
the specified name and ellipsoid. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Returns
true if the specified datum is equal to this
datum. |
abstract boolean |
equivalent(IlvHorizontalDatum d)
Returns
true , if the datum passed as the argument
describes the same coordinate system as the current object. |
static IlvHorizontalDatumConverterFactory |
GetConverterFactory()
Returns a factory that can create converters to convert coordinates
from one datum to another.
|
IlvEllipsoid |
getEllipsoid()
Returns the ellipsoid for this datum.
|
String |
getName()
Returns the name of this datum.
|
static void |
SetConverterFactory(IlvHorizontalDatumConverterFactory factory)
Sets a factory to create converters to convert coordinates from one
datum to another.
|
String |
toString()
Returns the string representation.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
protected IlvHorizontalDatum(String name, IlvEllipsoid ellipsoid)
IlvHorizontalDatum
object, with
the specified name and ellipsoid.name
- The name of the datum.ellipsoid
- The ellipsoid for this datum.protected IlvHorizontalDatum(IlvInputStream stream) throws IlvReadFileException
IlvHorizontalDatum
object from an
IlvInputStream
.IlvReadFileException
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.public final IlvEllipsoid getEllipsoid()
public String getName()
public abstract boolean equivalent(IlvHorizontalDatum d)
true
, if the datum passed as the argument
describes the same coordinate system as the current object.public boolean equals(Object object)
true
if the specified datum is equal to this
datum. The default implementation returns true
if the
datums are equivalent and if they have the same name.equals
in class Object
object
- The object to compare.equivalent(ilog.views.maps.projection.IlvHorizontalDatum)
public static IlvHorizontalDatumConverterFactory GetConverterFactory()
public static void SetConverterFactory(IlvHorizontalDatumConverterFactory factory)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.