Class AzimuthalProjection
- java.lang.Object
-
- org.meteoinfo.projection.proj4j.proj.Projection
-
- org.meteoinfo.projection.proj4j.proj.AzimuthalProjection
-
- Direct Known Subclasses:
EqualAreaAzimuthalProjection,EquidistantAzimuthalProjection,GnomonicAzimuthalProjection,OrthographicAzimuthalProjection,StereographicAzimuthalProjection
public abstract class AzimuthalProjection extends Projection
The superclass for all azimuthal map projections
-
-
Field Summary
Fields Modifier and Type Field Description protected doublecosphi0static intEQUATORprotected intmodestatic intNORTH_POLEstatic intOBLIQUEprotected doublesinphi0static intSOUTH_POLE-
Fields inherited from class org.meteoinfo.projection.proj4j.proj.Projection
a, alpha, DTR, e, ellipsoid, EPS10, es, falseEasting, falseNorthing, fromMetres, geocentric, HALFPI, heightOfOrbit, isSouth, lonc, maxLatitude, maxLongitude, minLatitude, minLongitude, name, one_es, proj4Name, projectionLatitude, projectionLatitude1, projectionLatitude1Degrees, projectionLatitude2, projectionLatitude2Degrees, projectionLatitudeDegrees, projectionLongitude, projectionLongitudeDegrees, rone_es, RTD, scaleFactor, spherical, totalScale, trueScaleLatitude, trueScaleLatitudeDegrees, unit
-
-
Constructor Summary
Constructors Constructor Description AzimuthalProjection()AzimuthalProjection(double projectionLatitude, double projectionLongitude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetMapRadius()voidinitialize()Initialize the projection.booleaninside(double lon, double lat)Returns true if the given lat/long point is visible in this projectionvoidsetMapRadius(double mapRadius)Set the map radius (in degrees).-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class org.meteoinfo.projection.proj4j.proj.Projection
clone, getAlpha, getEllipsoid, getEPSGCode, getEquatorRadius, getFalseEasting, getFalseNorthing, getFromMetres, getHeightOfOrbit, getLonC, getMaxLatitude, getMaxLatitudeDegrees, getMaxLongitude, getMaxLongitudeDegrees, getMinLatitude, getMinLatitudeDegrees, getMinLongitude, getMinLongitudeDegrees, getName, getPROJ4Description, getProj4Name, getProjectionLatitude, getProjectionLatitude1, getProjectionLatitude1Degrees, getProjectionLatitude2, getProjectionLatitude2Degrees, getProjectionLatitudeDegrees, getProjectionLongitude, getProjectionLongitudeDegrees, getScaleFactor, getSouthernHemisphere, getTrueScaleLatitude, getTrueScaleLatitudeDegrees, hasInverse, inverseProject, inverseProjectRadians, isConformal, isEqual, isEqualArea, isRectilinear, normalizeLongitude, normalizeLongitudeRadians, parallelsAreParallel, project, project, projectInverse, projectRadians, setAlphaDegrees, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, setHeightOfOrbit, setLonCDegrees, setMaxLatitude, setMaxLongitude, setMaxLongitudeDegrees, setMinLatitude, setMinLongitude, setMinLongitudeDegrees, setName, setProjectionLatitude, setProjectionLatitude1, setProjectionLatitude1Degrees, setProjectionLatitude2, setProjectionLatitude2Degrees, setProjectionLatitudeDegrees, setProjectionLongitude, setProjectionLongitudeDegrees, setScaleFactor, setSouthernHemisphere, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, setUnits, toString
-
-
-
-
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
-
-
Method Detail
-
initialize
public void initialize()
Description copied from class:ProjectionInitialize 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:
initializein classProjection
-
inside
public boolean inside(double lon, double lat)Description copied from class:ProjectionReturns true if the given lat/long point is visible in this projection- Overrides:
insidein classProjection
-
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()
-
-