jview
Class CylindricalEqualAreaProjection

java.lang.Object
  extended by jview.AbstractFormattingTransform
      extended by jview.CylindricalProjection
          extended by jview.CylindricalEqualAreaProjection
All Implemented Interfaces:
CoordinateTransforming, DeltaFormattedTransforming, DeltaTransforming, FormattedTransforming

public class CylindricalEqualAreaProjection
extends CylindricalProjection

A cylindrical equal area projection transforms y with the sine rather than the tangent,

   x = confine360(λ-λ_0+180.)/360.
   y = 0.5*(1.-sin(φ))
   
Note that scaling factors stemming from standard parallel vaporize in normalized coordinates.


Field Summary
 
Fields inherited from class jview.CylindricalProjection
lambda0, TOPLATITUDE
 
Constructor Summary
CylindricalEqualAreaProjection()
          Construct a new CylindricalEqualAreaProjection for Greenwhich.
CylindricalEqualAreaProjection(double l0)
          Construct a new CylindricalEqualAreaProjection for Greenwhich.
 
Method Summary
protected  double getPhi(Point2D norm)
          Inversion formular is asin(2y-1)
protected  double getY(VectorG lamphi)
          We calculate y from
 
Methods inherited from class jview.CylindricalProjection
deduceFormat, estimateX, estimateY, getLambda, getScale, getX, setSexagesimal, toNormalizedDistance, toNormalizedSpace, toUserDistance, toUserSpace
 
Methods inherited from class jview.AbstractFormattingTransform
deltaFormatUserSpaceX, deltaFormatUserSpaceY, formatUserCoordinates, formatUserSpaceX, formatUserSpaceY, getFormatUserX, getFormatUserY, setDeltaFormatUserX, setDeltaFormatUserY, setFormatUserX, setFormatUserY, useEstimatedFormats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CylindricalEqualAreaProjection

public CylindricalEqualAreaProjection()
Construct a new CylindricalEqualAreaProjection for Greenwhich.


CylindricalEqualAreaProjection

public CylindricalEqualAreaProjection(double l0)
Construct a new CylindricalEqualAreaProjection for Greenwhich.

Method Detail

getY

protected double getY(VectorG lamphi)
We calculate y from
       y = 0.5*(1.-sin(φ))
       

Overrides:
getY in class CylindricalProjection

getPhi

protected double getPhi(Point2D norm)
Inversion formular is asin(2y-1)

Overrides:
getPhi in class CylindricalProjection