ilog.views.maps.projection
Class IlvMillerCylindricalProjection

java.lang.Object
  extended by ilog.views.maps.projection.IlvProjection
      extended by ilog.views.maps.projection.IlvMillerCylindricalProjection
All Implemented Interfaces:
IlvPersistentObject, Serializable

public class IlvMillerCylindricalProjection
extends IlvProjection

This class defines the Miller Cylindrical projection.

This type of projection does not support non-spherical ellipsoids.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ilog.views.maps.projection.IlvProjection
CONFORMAL, EQUAL_AREA, NONE
 
Constructor Summary
IlvMillerCylindricalProjection()
          Creates an instance of the class IlvMillerCylindricalProjection.
IlvMillerCylindricalProjection(IlvInputStream stream)
          Reads the object from an IlvInputStream.
IlvMillerCylindricalProjection(IlvMillerCylindricalProjection source)
          Creates a new IlvMillerCylindricalProjection by copying an existing one.
 
Method Summary
 IlvProjection copy()
          Copies the projection.
protected  void sForward(IlvCoordinate ll)
          Implements the projection for a sphere.
protected  void sInverse(IlvCoordinate xy)
          Implements the inverse projection for a sphere.
 String toString()
          Converts the projection to a string with Evenden's format.
 void write(IlvOutputStream stream)
          Writes the object to an IlvOutputStream.
 
Methods inherited from class ilog.views.maps.projection.IlvProjection
addDescription, adjustLongitude, eForward, eInverse, equals, forward, forward, getCentralMeridian, getCentralParallel, getDatum, getEllipsoid, getFalseEasting, getFalseNorthing, GetProjection, getProperty, getUnit, getXYOffset, inverse, inverse, inverse, isEllipsoidEnabled, isGeocentric, isInverseEnabled, isUsingLongitudeReduction, setCentralMeridian, setCentralParallel, setDatum, setEllipsoid, setFalseEasting, setFalseNorthing, setGeocentric, setLLCenter, setUnit, setUsingLongitudeReduction, setXYOffset
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvMillerCylindricalProjection

public IlvMillerCylindricalProjection()
Creates an instance of the class IlvMillerCylindricalProjection.


IlvMillerCylindricalProjection

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

Parameters:
stream - the input stream.
Throws:
IlvReadFileException - if the format is not correct.
Since:
JViews 3.0

IlvMillerCylindricalProjection

public IlvMillerCylindricalProjection(IlvMillerCylindricalProjection source)
Creates a new IlvMillerCylindricalProjection by copying an existing one.

Parameters:
source - the projection that is copied.
Since:
JViews 3.0
Method Detail

copy

public IlvProjection copy()
Copies the projection.

Specified by:
copy in class IlvProjection
Returns:
a copy of the projection.
Since:
JViews 3.0

sForward

protected void sForward(IlvCoordinate ll)
Implements the projection for a sphere.

Specified by:
sForward in class IlvProjection
Parameters:
ll - the longitude/latitude coordinates in radians (x = longitude, y = latitude)

sInverse

protected void sInverse(IlvCoordinate xy)
Implements the inverse projection for a sphere.

Overrides:
sInverse in class IlvProjection
Parameters:
xy - the Cartesian coordinates.
See Also:
IlvProjection.inverse(ilog.views.IlvPoint), IlvProjection.isInverseEnabled()

write

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

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvProjection
Parameters:
stream - the output stream.
Throws:
IOException - thrown when an exception occurs during the write operation for this object.
Since:
JViews 3.0

toString

public String toString()
Converts the projection to a string with Evenden's format.

Overrides:
toString in class Object


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