|
||||||||||
| 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.IlvEquidistantCylindricalProjection
public class IlvEquidistantCylindricalProjection
This class defines the Equidistant Cylindrical projection. A cylindrical projection is obtained by wrapping a large, flat plane around the globe to form a cylinder. The Equidistant Cylindrical projection simply multiplies the latitudes and longitudes by a scale factor. The latitude of the true scale can be specified.
Equidistant Cylindrical projections are also known as:
This type of projection does not support non-spherical ellipsoids and is neither Conformal nor Equal Area.
| Field Summary |
|---|
| Fields inherited from class ilog.views.maps.projection.IlvProjection |
|---|
CONFORMAL, EQUAL_AREA, NONE |
| Constructor Summary | |
|---|---|
IlvEquidistantCylindricalProjection()
Creates an instance of the class IlvEquidistantCylindricalProjection |
|
IlvEquidistantCylindricalProjection(IlvEquidistantCylindricalProjection source)
Creates a new IlvCylindricalEqualAreaProjection
by copying an existing one. |
|
IlvEquidistantCylindricalProjection(IlvInputStream stream)
Reads the object from an IlvInputStream. |
|
| Method Summary | |
|---|---|
IlvProjection |
copy()
Copies the projection. |
double |
getLatitudeOfTrueScale()
Returns the latitude of the true scale. |
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. |
| 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, setLLCenter, setUnit, setUsingLongitudeReduction, setXYOffset |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvEquidistantCylindricalProjection()
IlvEquidistantCylindricalProjection
public IlvEquidistantCylindricalProjection(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
stream - the input stream.
IlvReadFileException - if the format is not correct.public IlvEquidistantCylindricalProjection(IlvEquidistantCylindricalProjection source)
IlvCylindricalEqualAreaProjection
by copying an existing one.
source - the projection that is copied.| Method Detail |
|---|
public IlvProjection copy()
copy in class IlvProjectionprotected void sForward(IlvCoordinate ll)
sForward in class IlvProjectionll - the longitude/latitude coordinates in radians
(x = longitude, y = latitude)protected void sInverse(IlvCoordinate xy)
sInverse in class IlvProjectionxy - the Cartesian coordinates.IlvProjection.inverse(ilog.views.IlvPoint),
IlvProjection.isInverseEnabled()public void setLatitudeOfTrueScale(double latitudeOfTrueScale)
latitudeOfTrueScale - the latitude in radianspublic final double getLatitudeOfTrueScale()
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 | |||||||||