ilog.views.maps.projection
Class IlvGeographicProjection

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

Deprecated. Since JViews 5.0, use ilog.views.maps.srs.coordsys.IlvGeographicCoordinateSystem to describe coordinate systems expressing coordinates in longitude and latitude.

public class IlvGeographicProjection
extends IlvProjection

This class defines the Geographic projection. It outputs the latitude and longitude in degrees. The unit converter of the projection is initialized by the projection to convert degrees into meters at the equator.

Since:
JViews 3.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ilog.views.maps.projection.IlvProjection
CONFORMAL, EQUAL_AREA, NONE
 
Constructor Summary
IlvGeographicProjection()
          Deprecated. Creates an instance of the class IlvGeographicProjection.
IlvGeographicProjection(IlvGeographicProjection source)
          Deprecated. Creates a new IlvGeographicProjection by copying an existing one.
IlvGeographicProjection(IlvInputStream stream)
          Deprecated. Reads the object from an IlvInputStream.
 
Method Summary
 IlvProjection copy()
          Deprecated. Copies the projection.
 void setEllipsoid(IlvEllipsoid ellipsoid)
          Deprecated. Sets the ellipsoid used for the projection and updates the unit converter.
 void setLLCenter(double lon, double lat)
          Deprecated. Does nothing.
 void setUnit(IlvLinearUnit unit)
          Deprecated. Does nothing.
protected  void sForward(IlvCoordinate ll)
          Deprecated. Implements the projection for a sphere.
protected  void sInverse(IlvCoordinate xy)
          Deprecated. Implements the inverse projection for a sphere.
 String toString()
          Deprecated. Converts the projection to a string with Evenden's format.
 
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, setFalseEasting, setFalseNorthing, setGeocentric, setUsingLongitudeReduction, setXYOffset, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvGeographicProjection

public IlvGeographicProjection()
Deprecated. 
Creates an instance of the class IlvGeographicProjection.


IlvGeographicProjection

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

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

IlvGeographicProjection

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

Parameters:
source - The projection that is copied.
Method Detail

copy

public IlvProjection copy()
Deprecated. 
Copies the projection.

Specified by:
copy in class IlvProjection
Returns:
A copy of the projection.

sForward

protected void sForward(IlvCoordinate ll)
Deprecated. 
Implements the projection for a sphere. If the coordinate has a latitude outside of the range [-PI/2; PI/2], then the latitude is constrained to this range.

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

sInverse

protected void sInverse(IlvCoordinate xy)
Deprecated. 
Implements the inverse projection for a sphere. If the coordinate has a latitude outside of the range [-PI/2; PI/2], then the latitude is constrained to this range.

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

setUnit

public void setUnit(IlvLinearUnit unit)
Deprecated. 
Does nothing.

Overrides:
setUnit in class IlvProjection
Parameters:
unit - The unit.
Since:
JViews 5.0
See Also:
IlvProjectedCoordinateSystem

setLLCenter

public void setLLCenter(double lon,
                        double lat)
Deprecated. 
Does nothing.

Overrides:
setLLCenter in class IlvProjection
Parameters:
lon - The central meridian in radians.
lat - The central parallel in radians.
See Also:
IlvProjectionUtil.DegreeToRadian(double), IlvProjectionUtil.DMSToRadian(java.lang.String)

setEllipsoid

public void setEllipsoid(IlvEllipsoid ellipsoid)
Deprecated. 
Sets the ellipsoid used for the projection and updates the unit converter.

Overrides:
setEllipsoid in class IlvProjection
Parameters:
ellipsoid - The ellipsoid.
See Also:
IlvEllipsoid

toString

public String toString()
Deprecated. 
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.