|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.projection.IlvProjection
ilog.views.maps.projection.IlvGnomonicProjection
public class IlvGnomonicProjection
This class defines the Gnomonic projection. The Gnonomic projection is an azimuthal projection. Because of distortions with increasing distance from the center of the projection, this projection is used to show areas of less than a hemisphere.
This projection applies only to spherical ellipsoids and implements an inverse function.
This projection is neither conformal nor equal area.
| Field Summary |
|---|
| Fields inherited from class ilog.views.maps.projection.IlvProjection |
|---|
CONFORMAL, EQUAL_AREA, NONE |
| Constructor Summary | |
|---|---|
IlvGnomonicProjection()
Initializes a new instance of the class IlvGnomonicProjection. |
|
IlvGnomonicProjection(IlvGnomonicProjection source)
Creates a new IlvGnomonicProjection by copying an existing one. |
|
IlvGnomonicProjection(IlvInputStream stream)
Reads a new IlvGnomonicProjection from the specified
stream. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ilog.views.maps.projection.IlvProjection |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvGnomonicProjection()
IlvGnomonicProjection.
public IlvGnomonicProjection(IlvGnomonicProjection source)
IlvGnomonicProjection by copying an existing one.
source - The projection that is copied.
public IlvGnomonicProjection(IlvInputStream stream)
throws IlvReadFileException
IlvGnomonicProjection from the specified
stream.
IlvReadFileException| Method Detail |
|---|
public IlvProjection copy()
copy in class IlvProjection
public void write(IlvOutputStream stream)
throws IOException
write in interface IlvPersistentObjectwrite in class IlvProjectionstream - The output stream.
IOException - thrown when an exception occurs during
the write operation for this object.
public void setLLCenter(double lon,
double lat)
setLLCenter in class IlvProjectionlon - 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 IlvProjectionll - 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)
sInverse in class IlvProjectionxy - The Cartesian coordinates.IlvProjection.inverse(ilog.views.IlvPoint),
IlvProjection.isInverseEnabled()public String toString()
toString in class Object
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||