public abstract class IlvAbstractARCProjection extends IlvProjection
IlvARCProjectionFactory.createProjection(int, double, double, double, double)
method.CONFORMAL, EQUAL_AREA, NONE
Modifier | Constructor and Description |
---|---|
protected |
IlvAbstractARCProjection()
Default constructor of the abstract projection.
|
|
IlvAbstractARCProjection(IlvInputStream stream)
Stream constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
forward(IlvCoordinate ll)
Project the given coordinates.
|
double |
getAsz()
Returns ASZ parameter.
|
double |
getBs()
Returns BS parameter.
|
double |
getLam0()
Returns Lambda 0 parameter.
|
double |
getPhi0()
Returns Phi 0 parameter.
|
int |
getZone()
Returns The Zone of the projection.
|
abstract void |
inverse(IlvCoordinate ll)
Compute the longitude/latitude coordinate of a projected point.
|
boolean |
isPolarProjection()
Indicates if the zone covered by the projection is a polar region.
|
void |
setAsz(double d)
Sets ASZ parameter.
|
void |
setBs(double d)
sets BS parameter.
|
void |
setLam0(double d)
sets Lambda0 parameter.
|
void |
setPhi0(double d)
sets Phi0 parameter.
|
void |
setZone(int z)
Sets Zone number.
|
protected void |
sForward(IlvCoordinate ll)
Implements the projection for a sphere.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
addDescription, adjustLongitude, copy, eForward, eInverse, equals, forward, getCentralMeridian, getCentralParallel, getDatum, getEllipsoid, getFalseEasting, getFalseNorthing, GetProjection, getProperty, getUnit, getXYOffset, inverse, inverse, isEllipsoidEnabled, isGeocentric, isInverseEnabled, isUsingLongitudeReduction, setCentralMeridian, setCentralParallel, setDatum, setEllipsoid, setFalseEasting, setFalseNorthing, setGeocentric, setLLCenter, setUnit, setUsingLongitudeReduction, setXYOffset, sInverse
protected IlvAbstractARCProjection()
public IlvAbstractARCProjection(IlvInputStream stream) throws IlvReadFileException
stream
- IlvReadFileException
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.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.IlvProjection.write(ilog.views.io.IlvOutputStream)
public abstract void forward(IlvCoordinate ll)
forward
in class IlvProjection
ll
- The longitude/latitude coordinates in radians.IlvProjection.isEllipsoidEnabled()
,
IlvProjectionUtil.DegreeToRadian(double)
,
IlvProjectionUtil.DMSToRadian(java.lang.String)
public double getAsz()
public double getBs()
public double getLam0()
public double getPhi0()
public int getZone()
public abstract void inverse(IlvCoordinate ll)
inverse
in class IlvProjection
ll
- The x/y coordinates in column/row.IlvProjectionUtil.RadianToDegree(double)
,
IlvProjection.setUnit(ilog.views.maps.IlvLinearUnit)
public boolean isPolarProjection()
true
when the zone is 9 (north pole) or 18(south pole).public void setAsz(double d)
d
- New value of ASZ.public void setBs(double d)
d
- New value of BS.public void setLam0(double d)
d
- New value of Lambda 0.public void setPhi0(double d)
d
- New value of Phi0.public void setZone(int z)
z
- The new zone.protected void sForward(IlvCoordinate ll) throws IlvToleranceConditionException
This protected method should be implemented by the classes that
extend the class IlvProjection
. It is not called directly by the
user, but by the IlvProjection.forward
method if the ellipsoid
associated with the projection is a sphere.
The method should convert the ll
parameter to the projected
coordinates.
The various parameters associated with a projection, such as
the measurement unit, the false easting or the central meridian,
must not be taken into account in this method because they are
processed by the calling method IlvProjection.forward
.
In this method, the sphere is assumed to be of radius 1.
sForward
in class IlvProjection
ll
- Longitude/latitude coordinates in radians.IlvToleranceConditionException
- If the values are not within the
tolerated limits.IlvProjection.sForward(ilog.views.maps.IlvCoordinate)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.