public class IlvCylindricalEqualAreaProjection extends IlvProjection
The Cylindrical Equal Area projection is also known as:
This class 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 |
---|
IlvCylindricalEqualAreaProjection()
Creates an instance of the class
IlvCylindricalEqualAreaProjection . |
IlvCylindricalEqualAreaProjection(double latitudeOfTrueScale)
Creates an instance of the class
IlvCylindricalEqualAreaProjection
and specifies the latitude of the true scale. |
IlvCylindricalEqualAreaProjection(IlvCylindricalEqualAreaProjection source)
Creates a new
IlvCylindricalEqualAreaProjection . |
IlvCylindricalEqualAreaProjection(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.
|
double |
getLatitudeOfTrueScale()
Returns the latitude of the true scale.
|
void |
setEllipsoid(IlvEllipsoid ellipsoid)
Sets the ellipsoid used for the projection ellipsoid.
|
void |
setLatitudeOfTrueScale(double latitudeOfTrueScale)
Sets the latitude of the true scale.
|
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, setLLCenter, setUnit, setUsingLongitudeReduction, setXYOffset
public IlvCylindricalEqualAreaProjection()
IlvCylindricalEqualAreaProjection
.public IlvCylindricalEqualAreaProjection(double latitudeOfTrueScale)
IlvCylindricalEqualAreaProjection
and specifies the latitude of the true scale.latitudeOfTrueScale
- The latitude of the true scale, in radians.public IlvCylindricalEqualAreaProjection(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- The input stream.IlvReadFileException
- If the format is not correct.public IlvCylindricalEqualAreaProjection(IlvCylindricalEqualAreaProjection source)
IlvCylindricalEqualAreaProjection
.
by copying an existing one.source
- The graphic object that is copied.public IlvProjection copy()
copy
in class IlvProjection
protected void sForward(IlvCoordinate ll)
sForward
in class IlvProjection
ll
- The longitude/latitude coordinates in radians
(x = longitude, y = latitude).protected void eForward(IlvCoordinate ll)
eForward
in class IlvProjection
ll
- The longitude/latitude coordinates in radians
(x = longitude, y = latitude).protected void eInverse(IlvCoordinate xy)
eInverse
in class IlvProjection
xy
- The Cartesian coordinates.IlvProjection.inverse(ilog.views.IlvPoint)
,
IlvProjection.isEllipsoidEnabled()
,
IlvProjection.isInverseEnabled()
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()
public void setLatitudeOfTrueScale(double latitudeOfTrueScale)
latitudeOfTrueScale
- The latitude of the true scale in radians.public final double getLatitudeOfTrueScale()
public void setEllipsoid(IlvEllipsoid ellipsoid)
setEllipsoid
in class IlvProjection
ellipsoid
- The ellipsoid.IlvEllipsoid
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 Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.