com.jhlabs.map.proj
Class AzimuthalProjection

java.lang.Object
  extended by com.jhlabs.map.proj.Projection
      extended by com.jhlabs.map.proj.AzimuthalProjection
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
AiryProjection, EqualAreaAzimuthalProjection, EquidistantAzimuthalProjection, GnomonicAzimuthalProjection, OrthographicAzimuthalProjection, StereographicAzimuthalProjection

public class AzimuthalProjection
extends Projection

The superclass for all azimuthal map projections

See Also:
Serialized Form

Field Summary
protected  double cosphi0
           
static int EQUATOR
           
protected  int mode
           
static int NORTH_POLE
           
static int OBLIQUE
           
protected  double sinphi0
           
static int SOUTH_POLE
           
 
Fields inherited from class com.jhlabs.map.proj.Projection
a, DTR, e, ellipsoid, EPS10, es, falseEasting, falseNorthing, fromMetres, geocentric, maxLatitude, maxLongitude, minLatitude, minLongitude, name, one_es, projectionLatitude, projectionLongitude, rone_es, RTD, scaleFactor, spherical, trueScaleLatitude
 
Constructor Summary
AzimuthalProjection()
           
AzimuthalProjection(double projectionLatitude, double projectionLongitude)
           
 
Method Summary
 double getMapRadius()
           
 void initialize()
          Initialize the projection.
 boolean inside(double lon, double lat)
          Returns true if the given lat/lon point is visible in this projection.
 void setMapRadius(double mapRadius)
          Set the map radius (in degrees).
 
Methods inherited from class com.jhlabs.map.proj.Projection
binarySearchInverse, binarySearchInverse, clone, getEllipsoid, getEPSGCode, getEquatorRadius, getFalseEasting, getFalseNorthing, getFromMetres, getMaxLatitude, getMaxLatitudeDegrees, getMaxLongitude, getMaxLongitudeDegrees, getMinLatitude, getMinLatitudeDegrees, getMinLongitude, getMinLongitudeDegrees, getName, getPROJ4Description, getProjectionDescription, getProjectionLatitude, getProjectionLatitudeDegrees, getProjectionLongitude, getProjectionLongitudeDegrees, getScaleFactor, getTrueScaleLatitude, getTrueScaleLatitudeDegrees, hasInverse, inverseTransform, inverseTransform, inverseTransform, inverseTransformRadians, inverseTransformRadians, inverseTransformRadians, isConformal, isEqualArea, isRectilinear, main, parallelsAreParallel, project, projectInverse, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, setMaxLatitude, setMaxLongitude, setMaxLongitudeDegrees, setMinLatitude, setMinLongitude, setMinLongitudeDegrees, setName, setProjectionLatitude, setProjectionLatitudeDegrees, setProjectionLongitude, setProjectionLongitudeDegrees, setScaleFactor, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, testBinarySearchInverse, toString, transform, transform, transform, transform, transformRadians, transformRadians, transformRadians
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NORTH_POLE

public static final int NORTH_POLE
See Also:
Constant Field Values

SOUTH_POLE

public static final int SOUTH_POLE
See Also:
Constant Field Values

EQUATOR

public static final int EQUATOR
See Also:
Constant Field Values

OBLIQUE

public static final int OBLIQUE
See Also:
Constant Field Values

mode

protected int mode

sinphi0

protected double sinphi0

cosphi0

protected double cosphi0
Constructor Detail

AzimuthalProjection

public AzimuthalProjection()

AzimuthalProjection

public AzimuthalProjection(double projectionLatitude,
                           double projectionLongitude)
Method Detail

initialize

public void initialize()
Description copied from class: Projection
Initialize the projection. This should be called after setting parameters and before using the projection. This is for performance reasons as initialization may be expensive.

Overrides:
initialize in class Projection

inside

public boolean inside(double lon,
                      double lat)
Description copied from class: Projection
Returns true if the given lat/lon point is visible in this projection.

Overrides:
inside in class Projection
Returns:

setMapRadius

public void setMapRadius(double mapRadius)
Set the map radius (in degrees). 180 shows a hemisphere, 360 shows the whole globe.


getMapRadius

public double getMapRadius()


Copyright © 2011. All Rights Reserved.