public class IlvProjectedCoordinateSystem extends IlvCoordinateSystem
IlvProjectedCoordinateSystem
is the class for coordinate
systems based on a map projection. Map projections are the means of
representing an ellipsoidal Earth on a mapping plane.IlvProjection
,
Serialized FormConstructor and Description |
---|
IlvProjectedCoordinateSystem(IlvInputStream stream)
Reads the object from an
IlvInputStream object. |
IlvProjectedCoordinateSystem(IlvProjectedCoordinateSystem source)
Copy constructor.
|
IlvProjectedCoordinateSystem(String name,
IlvGeographicCoordinateSystem gcs,
IlvProjection projection,
IlvLinearUnit unit,
String axisName1,
String axisName2)
Creates a new
IlvProjectedCoordinateSystem . |
IlvProjectedCoordinateSystem(String name,
IlvProjection projection)
Creates a new
IlvProjectedCoordinateSystem using the information found in
the specified projection. |
Modifier and Type | Method and Description |
---|---|
IlvCoordinateSystem |
copy()
Returns a copy of this projected coordinate system.
|
boolean |
equals(Object other)
Returns
true if this coordinate system is equal to the specified
object. |
IlvGeographicCoordinateSystem |
getGeographicCoordinateSystem()
Returns the associated geographic coordinate system.
|
IlvLinearUnit |
getLinearUnit()
Returns the unit system of projected coordinates.
|
IlvProjection |
getProjection()
Returns the projection.
|
String |
toString()
Returns a string representation of this object.
|
void |
write(IlvOutputStream stream)
Writes the object to the specified
IlvOutputStream . |
getAxisName, getDimension, getName, getUnit, toString
public IlvProjectedCoordinateSystem(String name, IlvProjection projection)
IlvProjectedCoordinateSystem
using the information found in
the specified projection.public IlvProjectedCoordinateSystem(String name, IlvGeographicCoordinateSystem gcs, IlvProjection projection, IlvLinearUnit unit, String axisName1, String axisName2)
IlvProjectedCoordinateSystem
. The specified geographic
coordinate system replaces the one defined by the ellipsoid and
datums associated with the projection.public IlvProjectedCoordinateSystem(IlvProjectedCoordinateSystem source)
source
- The source IlvProjectedCoordinateSystem
.public IlvProjectedCoordinateSystem(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 IlvGeographicCoordinateSystem getGeographicCoordinateSystem()
public IlvProjection getProjection()
public IlvLinearUnit getLinearUnit()
public String toString()
public IlvCoordinateSystem copy()
copy
in class IlvCoordinateSystem
public boolean equals(Object other)
true
if this coordinate system is equal to the specified
object.equals
in class IlvCoordinateSystem
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.