public class IlvAlbersEqualAreaProjection extends IlvConicProjection
When used to display maps of the conterminous United States, this projection is often used with the first secant latitude set to 29.5DN and the second secant latitude set to 45.5DN.
This projection applies both to spherical and non-spherical ellipsoids and implements an inverse function.
This projection is Equal Area.
CONFORMAL, EQUAL_AREA, NONE
Constructor and Description |
---|
IlvAlbersEqualAreaProjection()
Creates an instance of the class
IlvAlbersEqualAreaProjection
and initializes its secant latitudes to 29.5N and 45.5N. |
IlvAlbersEqualAreaProjection(double lat1,
double lat2)
Creates an instance of the class
IlvAlbersEqualAreaProjection
and specifies its secant latitudes. |
IlvAlbersEqualAreaProjection(IlvAlbersEqualAreaProjection source)
Creates a new
IlvAlbersEqualAreaProjection
by copying an existing one. |
IlvAlbersEqualAreaProjection(IlvInputStream stream)
Reads the object from an
IlvInputStream . |
Modifier and Type | Method and Description |
---|---|
IlvProjection |
copy()
Copies the projection.
|
protected void |
eForward(IlvCoordinate ll)
Implements the projection for an ellipsoid.
|
protected void |
eInverse(IlvCoordinate xy)
Implements the inverse projection for an ellipsoid.
|
void |
setEllipsoid(IlvEllipsoid e)
Sets the ellipsoid used for the projection.
|
void |
setLLCenter(double lon,
double lat)
Specifies the central meridian and the central parallel associated
with the projection and updates the internal parameters.
|
void |
setSecantLatitudes(IlvCoordinate secant)
Sets the secant latitudes of the projection.
|
protected void |
sForward(IlvCoordinate ll)
Implements the projection for a sphere.
|
protected void |
sInverse(IlvCoordinate xy)
Implements the inverse projection for a sphere.
|
String |
toString()
Converts the projection to a string with Evenden's format.
|
addDescription, getSecantLatitude1, getSecantLatitude2, getSecantLatitudes, setSecantLatitude1, setSecantLatitude2, write
adjustLongitude, 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, setUnit, setUsingLongitudeReduction, setXYOffset
public IlvAlbersEqualAreaProjection()
IlvAlbersEqualAreaProjection
and initializes its secant latitudes to 29.5N and 45.5N.public IlvAlbersEqualAreaProjection(double lat1, double lat2) throws IlvBadProjectionParameter
IlvAlbersEqualAreaProjection
and specifies its secant latitudes.lat1
- the first secant latitude in radianslat2
- the second secant latitude in radiansIlvBadProjectionParameter
- if the secant latitudes
define a limiting form of the projection.public IlvAlbersEqualAreaProjection(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- the input stream.IlvReadFileException
- if the format is not correct.public IlvAlbersEqualAreaProjection(IlvAlbersEqualAreaProjection source)
IlvAlbersEqualAreaProjection
by copying an existing one.source
- the projection that is copied.public IlvProjection copy()
copy
in class IlvProjection
protected void sForward(IlvCoordinate ll) throws IlvToleranceConditionException
sForward
in class IlvProjection
ll
- the longitude/latitude coordinates in radians
(x = longitude, y = latitude)IlvToleranceConditionException
- if the values are not within the
tolerated limits.protected void sInverse(IlvCoordinate xy) throws IlvToleranceConditionException
sInverse
in class IlvProjection
xy
- the Cartesian coordinates.IlvToleranceConditionException
- if the values are not within
the tolerated limits.IlvProjection.inverse(ilog.views.IlvPoint)
,
IlvProjection.isInverseEnabled()
protected void eInverse(IlvCoordinate xy) throws IlvToleranceConditionException
eInverse
in class IlvProjection
xy
- the Cartesian coordinates.IlvToleranceConditionException
- if the values are not within the
tolerated limits.IlvProjection.inverse(ilog.views.IlvPoint)
,
IlvProjection.isEllipsoidEnabled()
,
IlvProjection.isInverseEnabled()
protected void eForward(IlvCoordinate ll) throws IlvToleranceConditionException
eForward
in class IlvProjection
ll
- the longitude/latitude coordinates in radians
(x = longitude, y = latitude)IlvToleranceConditionException
- if the values are not within the
tolerated limits.public void setLLCenter(double lon, double lat)
setLLCenter
in class IlvProjection
lon
- the central meridian in radianslat
- the central parallel in radiansIlvProjectionUtil.DegreeToRadian(double)
,
IlvProjectionUtil.DMSToRadian(java.lang.String)
public void setSecantLatitudes(IlvCoordinate secant) throws IlvBadProjectionParameter
setSecantLatitudes
in class IlvConicProjection
secant
- the first secant latitude in radians is in
secant.x
and the second
secant latitude in radians is in secant.y
.IlvBadProjectionParameter
- if the latitudes specify a
limiting form, that is, secant.x = -secant.y
or secant.x = secant.y = PI/2
public void setEllipsoid(IlvEllipsoid e)
setEllipsoid
in class IlvProjection
e
- The ellipsoid.IlvEllipsoid
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.