public class IlvLambertConformalConicProjection extends IlvConicProjection
CONFORMAL, EQUAL_AREA, NONE
Constructor and Description |
---|
IlvLambertConformalConicProjection()
Creates an instance of the class
IlvLambertConformalConicProjection
and initializes its secant latitudes to 33N and 45N. |
IlvLambertConformalConicProjection(double lat1,
double lat2)
Creates an instance of the class
IlvLambertConformalConicProjection
and specifies its secant latitudes. |
IlvLambertConformalConicProjection(IlvInputStream stream)
Reads the object from an
IlvInputStream . |
IlvLambertConformalConicProjection(IlvLambertConformalConicProjection source)
Creates a new
IlvLambertConformalConicProjection
by copying an existing one. |
Modifier and Type | Method and Description |
---|---|
static IlvLambertConformalConicProjection |
BELGIUM()
Returns an instance of
IlvLambertConformalConicProjection
initialized with the Lambert Conic Conformal (2SP Belgium)
parameters. |
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 |
getScaleFactor()
Returns the scale factor applied to the projected data.
|
void |
setEllipsoid(IlvEllipsoid e)
Sets the ellipsoid used for the projection.
|
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 a scale factor applied to the projected data.
|
void |
setSecantLatitudes(IlvCoordinate secant)
Sets the secant latitudes of 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 the object to an
IlvOutputStream . |
addDescription, getSecantLatitude1, getSecantLatitude2, getSecantLatitudes, setSecantLatitude1, setSecantLatitude2
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
public IlvLambertConformalConicProjection()
IlvLambertConformalConicProjection
and initializes its secant latitudes to 33N and 45N.public IlvLambertConformalConicProjection(double lat1, double lat2) throws IlvBadProjectionParameter
IlvLambertConformalConicProjection
and specifies its secant latitudes.lat1
- The first secant latitude in radians.lat2
- The second secant latitude in radians.IlvBadProjectionParameter
- If the secant latitudes
define a limiting form of the projection.public IlvLambertConformalConicProjection(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- The input stream.IlvReadFileException
- If the format is not correct.public IlvLambertConformalConicProjection(IlvLambertConformalConicProjection source)
IlvLambertConformalConicProjection
by copying an existing one.source
- The projection that is copied.public static final IlvLambertConformalConicProjection BELGIUM()
IlvLambertConformalConicProjection
initialized with the Lambert Conic Conformal (2SP Belgium)
parameters.
public IlvProjection copy()
copy
in class IlvProjection
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 eForward(IlvCoordinate ll) throws IlvToleranceConditionException
eForward
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 are not within
the tolerated limits.IlvProjection.inverse(ilog.views.IlvPoint)
,
IlvProjection.isInverseEnabled()
protected void eInverse(IlvCoordinate xy) throws IlvToleranceConditionException
eInverse
in class IlvProjection
xy
- The Cartesian coordinates.IlvToleranceConditionException
- If the values are not within the
tolerated limits.IlvProjection.inverse(ilog.views.IlvPoint)
,
IlvProjection.isEllipsoidEnabled()
,
IlvProjection.isInverseEnabled()
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)
public void setSecantLatitudes(IlvCoordinate secant) throws IlvBadProjectionParameter
setSecantLatitudes
in class IlvConicProjection
secant
- The first secant latitude in radians is in
secant.x
and the second
secant latitude in radians is in secant.y
.IlvBadProjectionParameter
- If the latitudes specify a
limiting form, that is, secant.x = -secant.y
or secant.x = secant.y = PI/2
.public void setEllipsoid(IlvEllipsoid e)
setEllipsoid
in class IlvProjection
e
- The ellipsoid.IlvEllipsoid
public void setScaleFactor(double k0)
k0
- The scale factor.public double getScaleFactor()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
write
in class IlvConicProjection
stream
- The output stream.IOException
- thrown when an exception occurs during
the write operation for this object.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.