public class IlvEllipsoidCollection extends Object implements Serializable
Constructor and Description |
---|
IlvEllipsoidCollection(InputStream stream)
Creates a new collection of ellipsoids, reading data from the specified
input stream.
|
IlvEllipsoidCollection(String filename)
Creates a new collection of ellipsoids, reading data from the file which
name is specified.
|
Modifier and Type | Method and Description |
---|---|
IlvEllipsoid |
getEllipsoid(String name)
Returns the ellipsoid of specified name if present in the collection.
|
Iterator<IlvEllipsoid> |
getEllipsoids()
Returns the enumeration of ellipsoids.
|
static IlvEllipsoidCollection |
GetKernelCollection()
Returns a collection containing the definition of all ellipsoids
supported by Perforce JViews Maps.
|
static IlvEllipsoidCollection |
Merge(IlvEllipsoidCollection collection1,
IlvEllipsoidCollection collection2)
Merge the specified ellipsoid collections.
|
public IlvEllipsoidCollection(String filename) throws IOException, IlvCollectionParseException
filename
- The name of the input file.IOException
- If an I/O error occurs.IlvCollectionParseException
- If an error occurs during the
parsing of the definition file.public IlvEllipsoidCollection(InputStream stream) throws IOException, IlvCollectionParseException
stream
- The input stream.IOException
- If an I/O error occurs.IlvCollectionParseException
- If an error occurs during the
parsing of the definition file.public final Iterator<IlvEllipsoid> getEllipsoids()
IlvEllipsoid
.Iterator
public final IlvEllipsoid getEllipsoid(String name)
name
- The name of the ellipsoid.null
if not found.public static IlvEllipsoidCollection GetKernelCollection()
IlvEllipsoidCollection
containing all default ellipsoids
definitions.public static IlvEllipsoidCollection Merge(IlvEllipsoidCollection collection1, IlvEllipsoidCollection collection2)
collection1
- The first ellipsoid collection.collection2
- The second ellipsoid collection.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.