public class IlvCassiniProjection extends IlvProjection
CONFORMAL, EQUAL_AREA, NONE
Constructor and Description |
---|
IlvCassiniProjection()
Initializes a new instance of the class
IlvCassiniProjection . |
IlvCassiniProjection(IlvCassiniProjection source)
Creates a new
IlvCassiniProjection by copying an existing one. |
IlvCassiniProjection(IlvInputStream stream)
Reads a new
IlvCassiniProjection from the specified
stream. |
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 ellipsoid)
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.
|
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()
Returns a string representation of this projection.
|
void |
write(IlvOutputStream stream)
Writes this projection to the specified stream.
|
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 IlvCassiniProjection()
IlvCassiniProjection
.public IlvCassiniProjection(IlvCassiniProjection source)
IlvCassiniProjection
by copying an existing one.source
- The projection that is copied.public IlvCassiniProjection(IlvInputStream stream) throws IlvReadFileException
IlvCassiniProjection
from the specified
stream.IlvReadFileException
public void write(IlvOutputStream stream) throws IOException
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.public IlvProjection copy()
copy
in class IlvProjection
public String toString()
public void setEllipsoid(IlvEllipsoid ellipsoid)
setEllipsoid
in class IlvProjection
ellipsoid
- The ellipsoid.IlvEllipsoid
public void setLLCenter(double lon, double lat)
setLLCenter
in class IlvProjection
lon
- The central meridian in radians.lat
- The central parallel in radians.IlvProjectionUtil.DegreeToRadian(double)
,
IlvProjectionUtil.DMSToRadian(java.lang.String)
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 sInverse(IlvCoordinate xy)
sInverse
in class IlvProjection
xy
- The Cartesian coordinates.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()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.