public class IlvHorizontalDatumCollection extends Object implements Serializable
Constructor and Description |
---|
IlvHorizontalDatumCollection(InputStream stream,
IlvEllipsoidCollection ellipsoids)
Creates a new collection of datums, reading data from the specified
input stream.
|
IlvHorizontalDatumCollection(String filename,
IlvEllipsoidCollection ellipsoids)
Creates a new collection of datums, reading data from file which name is
specified.
|
Modifier and Type | Method and Description |
---|---|
IlvHorizontalDatum |
getDatum(String name)
Returns the datum of specified name if present in the collection.
|
Iterator<IlvHorizontalDatum> |
getDatums()
Returns the enumeration of datums.
|
static IlvHorizontalDatumCollection |
GetKernelCollection()
Returns a collection containing the definition of all datums
supported by Rogue Wave JViews Maps.
|
static IlvHorizontalDatumCollection |
Merge(IlvHorizontalDatumCollection collection1,
IlvHorizontalDatumCollection collection2)
Merge the specified datum collections.
|
public IlvHorizontalDatumCollection(String filename, IlvEllipsoidCollection ellipsoids) throws IOException, IlvCollectionParseException
ellipsoids
is null
,
all datums of this collection will be created using the default
WGS84
ellipsoid.filename
- The filename.ellipsoids
- The ellipsoid collection to useIOException
- if an I/O error occurs.IlvCollectionParseException
- if an error occurs during the
parsing of the definition file.public IlvHorizontalDatumCollection(InputStream stream, IlvEllipsoidCollection ellipsoids) throws IOException, IlvCollectionParseException
ellipsoids
is null
,
all datums of this collection will be created using the default
WGS84
ellipsoid.stream
- The input stream.ellipsoids
- The ellipsoid collection to useIOException
- if an I/O error occurs.IlvCollectionParseException
- if an error occurs during the
parsing of the definition file.public final Iterator<IlvHorizontalDatum> getDatums()
IlvHorizontalDatum
.Iterator
public final IlvHorizontalDatum getDatum(String name)
null
if the datum isn't in the collectionname
- the name of the datumpublic static IlvHorizontalDatumCollection GetKernelCollection()
IlvHorizontalDatumCollection
containing all default datums
definitions.public static IlvHorizontalDatumCollection Merge(IlvHorizontalDatumCollection collection1, IlvHorizontalDatumCollection collection2)
collection1
- The first collection.collection2
- The second collection.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.