jview
Class CylindricalEquidistantProjection

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

public class CylindricalEquidistantProjection
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.-φ/90)
   
Note that scaling factors stemming from standard parallel vaporize in normalized coordinates.


Field Summary
private  double lpart
          If only a part of the world is shown, this is < 360.
private  double phi0
          If center of projection is not equator.
private  double ppart
          If only a part of the world is shown, this is < 180.
 
Fields inherited from class jview.CylindricalProjection
lambda0, TOPLATITUDE
 
Constructor Summary
CylindricalEquidistantProjection()
          Construct a new CylindricalEqualAreaProjection for Greenwhich.
CylindricalEquidistantProjection(double l0)
          Construct a new CylindricalEqualAreaProjection for Greenwhich.
CylindricalEquidistantProjection(double l0, double p0, double ls, double ps)
          Construct a new CylindricalEqualAreaProjection for Greenwhich.
 
Method Summary
protected  double getLambda(Point2D norm)
          The standard cylindrical projection uses
protected  double getPhi(Point2D norm)
          Inversion formular is (1-2y)*90
protected  double getX(VectorG lamphi)
          The standard cylindrical projection uses
protected  double getY(VectorG lamphi)
          We calculate y from
 
Methods inherited from class jview.CylindricalProjection
deduceFormat, estimateX, estimateY, getScale, 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
 

Field Detail

phi0

private double phi0
If center of projection is not equator.


lpart

private double lpart
If only a part of the world is shown, this is < 360.


ppart

private double ppart
If only a part of the world is shown, this is < 180.

Constructor Detail

CylindricalEquidistantProjection

public CylindricalEquidistantProjection()
Construct a new CylindricalEqualAreaProjection for Greenwhich.


CylindricalEquidistantProjection

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


CylindricalEquidistantProjection

public CylindricalEquidistantProjection(double l0,
                                        double p0,
                                        double ls,
                                        double ps)
Construct a new CylindricalEqualAreaProjection for Greenwhich.

Method Detail

getX

protected double getX(VectorG lamphi)
The standard cylindrical projection uses
       x = confine360(λ-λ_0+180.)/360.
       

Overrides:
getX in class CylindricalProjection

getY

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

Overrides:
getY in class CylindricalProjection

getLambda

protected double getLambda(Point2D norm)
The standard cylindrical projection uses
       λ=confine360(360*x+λ_0)-180.
       

Overrides:
getLambda in class CylindricalProjection

getPhi

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

Overrides:
getPhi in class CylindricalProjection