public class IlvAzimuthalEquidistantProjection extends IlvProjection
With Azimuthal Equidistant projections, distances from the center are true. These projections are used to show air-route distances, which appear as straight lines when drawn from the projection center.
CADGR files representing polar areas are provided with this projection.
This class applies both to spherical and non-spherical ellipsoids and implements an inverse function.
This projection is neither Conformal nor Equal Area.
CONFORMAL, EQUAL_AREA, NONE
Constructor and Description |
---|
IlvAzimuthalEquidistantProjection()
Creates an instance of the class
IlvAzimuthalEquidistantProjection . |
IlvAzimuthalEquidistantProjection(IlvAzimuthalEquidistantProjection source)
Creates a new
IlvAzimuthalEquidistantProjection
by copying an existing one. |
IlvAzimuthalEquidistantProjection(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.
|
boolean |
isGuam()
Returns true if the guam elliptical equation is used.
|
void |
setEllipsoid(IlvEllipsoid ellipsoid)
Sets the ellipsoid used for the projection.
|
void |
setGuam(boolean guam)
Sets the projection to use the guam equation, which is an alternate
form of the projection for an ellipsoid.
|
void |
setLLCenter(double lon,
double lat)
Specifies the central meridian and the central parallel associated
with the projection and updates the internal parameters.
|
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.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
addDescription, 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 IlvAzimuthalEquidistantProjection()
IlvAzimuthalEquidistantProjection
.public IlvAzimuthalEquidistantProjection(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- the input stream.IlvReadFileException
- if the format is not correct.public IlvAzimuthalEquidistantProjection(IlvAzimuthalEquidistantProjection source)
IlvAzimuthalEquidistantProjection
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 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.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()
public void setEllipsoid(IlvEllipsoid ellipsoid)
setEllipsoid
in class IlvProjection
ellipsoid
- the ellipsoidIlvEllipsoid
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 setGuam(boolean guam)
guam
- if true, the guam elliptical equation is used.public final boolean isGuam()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
write
in class IlvProjection
stream
- the output stream.IOException
- thrown when an exception occurs during
the write operation for this object.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.