ilog.views.maps.srs.coordsys
Class IlvProjectedCoordinateSystem

java.lang.Object
  extended by ilog.views.maps.srs.coordsys.IlvCoordinateSystem
      extended by ilog.views.maps.srs.coordsys.IlvProjectedCoordinateSystem
All Implemented Interfaces:
IlvPersistentObject

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.

Since:
JViews 5.0
See Also:
IlvProjection

Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class ilog.views.maps.srs.coordsys.IlvCoordinateSystem
getAxisName, getDimension, getName, getUnit, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvProjectedCoordinateSystem

public IlvProjectedCoordinateSystem(String name,
                                    IlvProjection projection)
Creates a new IlvProjectedCoordinateSystem using the information found in the specified projection.


IlvProjectedCoordinateSystem

public IlvProjectedCoordinateSystem(String name,
                                    IlvGeographicCoordinateSystem gcs,
                                    IlvProjection projection,
                                    IlvLinearUnit unit,
                                    String axisName1,
                                    String axisName2)
Creates a new IlvProjectedCoordinateSystem. The specified geographic coordinate system replaces the one defined by the ellipsoid and datums associated with the projection.


IlvProjectedCoordinateSystem

public IlvProjectedCoordinateSystem(IlvProjectedCoordinateSystem source)
Copy constructor.

Parameters:
source - The source IlvProjectedCoordinateSystem.

IlvProjectedCoordinateSystem

public IlvProjectedCoordinateSystem(IlvInputStream stream)
                             throws IlvReadFileException
Reads the object from an IlvInputStream object.

Parameters:
stream - The input stream.
Throws:
IlvReadFileException - If the format is not correct.
Method Detail

write

public void write(IlvOutputStream stream)
           throws IOException
Writes the object to the specified IlvOutputStream.

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvCoordinateSystem
Parameters:
stream - The stream to write this unit to.
Throws:
IOException - If an I/O error occurs.

getGeographicCoordinateSystem

public IlvGeographicCoordinateSystem getGeographicCoordinateSystem()
Returns the associated geographic coordinate system.


getProjection

public IlvProjection getProjection()
Returns the projection.


getLinearUnit

public IlvLinearUnit getLinearUnit()
Returns the unit system of projected coordinates.


toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object

copy

public IlvCoordinateSystem copy()
Returns a copy of this projected coordinate system.

Specified by:
copy in class IlvCoordinateSystem

equals

public boolean equals(Object other)
Returns true if this coordinate system is equal to the specified object.

Overrides:
equals in class IlvCoordinateSystem


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.