public class IlvOrthographicProjection extends IlvProjection
This projection applies to spherical ellipsoids only, and implements an inverse function.
This projection is neither equal area nor conformal.
CONFORMAL, EQUAL_AREA, NONE
Constructor and Description |
---|
IlvOrthographicProjection()
Initializes a new instance of the class
IlvOrthographicProjection . |
IlvOrthographicProjection(IlvInputStream stream)
Reads a new
IlvOrthographicProjection from the specified
stream. |
IlvOrthographicProjection(IlvOrthographicProjection source)
Creates a new
IlvGnomonicProjection by copying an existing one. |
Modifier and Type | Method and Description |
---|---|
IlvProjection |
copy()
Copies 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()
Converts the projection to a string with Evenden's format.
|
void |
write(IlvOutputStream stream)
Writes this projection to the specified stream.
|
addDescription, adjustLongitude, eForward, eInverse, equals, forward, forward, getCentralMeridian, getCentralParallel, getDatum, getEllipsoid, getFalseEasting, getFalseNorthing, GetProjection, getProperty, getUnit, getXYOffset, inverse, inverse, inverse, isEllipsoidEnabled, isGeocentric, isInverseEnabled, isUsingLongitudeReduction, setCentralMeridian, setCentralParallel, setDatum, setEllipsoid, setFalseEasting, setFalseNorthing, setGeocentric, setUnit, setUsingLongitudeReduction, setXYOffset
public IlvOrthographicProjection()
IlvOrthographicProjection
.public IlvOrthographicProjection(IlvOrthographicProjection source)
IlvGnomonicProjection
by copying an existing one.source
- The projection that is copied.public IlvOrthographicProjection(IlvInputStream stream) throws IlvReadFileException
IlvOrthographicProjection
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 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) 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 not are within
the tolerated limits.IlvProjection.inverse(ilog.views.IlvPoint)
,
IlvProjection.isInverseEnabled()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.