|
||||||||||
| 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.IlvStereographicProjection
public class IlvStereographicProjection
This class defines the Stereographic projection. The Stereographic projection is an Azimuthal projection, that is, a projection onto a plane tangent to the earth at a point specified by the central meridian and the central parallel. By default, the latitude of the true scale is PI/2.
This projection applies both to spherical and non-spherical ellipsoids and implements an inverse function.
This projection is Conformal.
IlvUniversalPolarStereographicProjection,
Serialized Form| Field Summary |
|---|
| Fields inherited from class ilog.views.maps.projection.IlvProjection |
|---|
CONFORMAL, EQUAL_AREA, NONE |
| Constructor Summary | |
|---|---|
IlvStereographicProjection()
Creates an instance of the class IlvStereographicProjection. |
|
IlvStereographicProjection(IlvInputStream stream)
Reads the object from an IlvInputStream. |
|
IlvStereographicProjection(IlvStereographicProjection source)
Creates a new IlvStereographicProjection
by copying an existing one. |
|
| Method Summary | |
|---|---|
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. |
double |
getScaleFactor()
Returns the scale factor applied to the central meridian. |
void |
setEllipsoid(IlvEllipsoid ellipsoid)
Sets the ellipsoid used for the projection. |
void |
setLatitudeOfTrueScale(double latitudeOfTrueScale)
Sets the latitude of the true scale. |
void |
setLLCenter(double lon,
double lat)
Specifies the central meridian and the central parallel associated with the projection and updates the internal parameters. |
void |
setScaleFactor(double k0)
Sets the scale factor applied to the central meridian. |
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. |
| Methods inherited from class ilog.views.maps.projection.IlvProjection |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvStereographicProjection()
IlvStereographicProjection.
public IlvStereographicProjection(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
stream - the input stream.
IlvReadFileException - if the format is not correct.public IlvStereographicProjection(IlvStereographicProjection source)
IlvStereographicProjection
by copying an existing one.
source - the projection that is copied.| Method Detail |
|---|
public IlvProjection copy()
copy in class IlvProjection
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 eForward(IlvCoordinate ll)
throws IlvToleranceConditionException
eForward 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()
protected void eInverse(IlvCoordinate xy)
throws IlvToleranceConditionException
eInverse in class IlvProjectionxy - 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 IlvProjectionellipsoid - the ellipsoidIlvEllipsoidpublic void setLatitudeOfTrueScale(double latitudeOfTrueScale)
latitudeOfTrueScale - the latitude in radianssetScaleFactor(double)public final double getLatitudeOfTrueScale()
public void setLLCenter(double lon,
double lat)
setLLCenter in class IlvProjectionlon - the central meridian in radianslat - the central parallel in radiansIlvProjectionUtil.DegreeToRadian(double),
IlvProjectionUtil.DMSToRadian(java.lang.String)public void setScaleFactor(double k0)
k0 - the scale factor.setLatitudeOfTrueScale(double)public double getScaleFactor()
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvProjectionstream - the output stream.
IOException - thrown when an exception occurs during
the write operation for this object.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 | |||||||||