public abstract class IlvConicProjection extends IlvProjection
setSecantLatitudes(IlvCoordinate secant)
. The secant
parameter is a vector that contains two values: secant.x
, which
represents the first latitude lat1
, and secant.y
,
which represents the second latitude lat2
. When the cone is
tangent to the earth, lat1
equals lat2
.
The cylindrical (lat1 = -lat2
) or azimuthal
(lat1 = lat2 = 90 degrees
) limiting forms of the conic projections
should not be used.
CONFORMAL, EQUAL_AREA, NONE
Modifier | Constructor and Description |
---|---|
protected |
IlvConicProjection(boolean ellipsoidEnabled,
boolean inverseEnabled,
int property)
Creates a new instance of the class
IlvConicProjection . |
protected |
IlvConicProjection(IlvConicProjection source)
Creates a new
IlvConicProjection by copying an existing one. |
protected |
IlvConicProjection(IlvInputStream stream)
Reads the object from an
IlvInputStream . |
Modifier and Type | Method and Description |
---|---|
protected void |
addDescription(StringBuffer buffer)
Converts the projection into a String (Evenden's format).
|
double |
getSecantLatitude1()
Returns the first latitude at which the cone intersects with the earth.
|
double |
getSecantLatitude2()
Returns the second latitude at which the cone intersects with the earth.
|
IlvCoordinate |
getSecantLatitudes()
Returns a new
IlvCoordinate that contains the latitudes at
which the cone intersects with the earth. |
void |
setSecantLatitude1(double secantLat1)
Sets the first latitude at which the cone intersects with the earth.
|
void |
setSecantLatitude2(double secantLat2)
Sets the second latitude at which the cone intersects with the earth.
|
void |
setSecantLatitudes(IlvCoordinate secant)
Sets the latitudes at which the cone intersects with the earth.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
adjustLongitude, copy, 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, sForward, sInverse
protected IlvConicProjection(boolean ellipsoidEnabled, boolean inverseEnabled, int property)
IlvConicProjection
.ellipsoidEnabled
- true if non-spherical ellipsoids can be
used for the projection. Projections supporting
non-spherical ellipsoids should implement the
eForward
function.inverseEnabled
- true if the projection implements an
inverse function. Projections implementing an inverse
function should implement the sInverse
and the eInverse
functions if ellipsoids are supported.property
- the property of the projection (NONE, CONFORMAL, EQUAL_AREA)protected IlvConicProjection(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- the input stream.IlvReadFileException
- if the format is not correct.protected IlvConicProjection(IlvConicProjection source)
IlvConicProjection
by copying an existing one.source
- the graphic object that is copied.public void setSecantLatitudes(IlvCoordinate secant) throws IlvBadProjectionParameter
secant
- vector containing two values: secant.x
for the first latitude and secant.y
for the second latitude. Both these values are expressed
in radians.IlvBadProjectionParameter
- if the latitudes specify a limiting form,
that is, secant.x = -secant.y
or secant.x = secant.y = PI/2
public void setSecantLatitude1(double secantLat1) throws IlvBadProjectionParameter
secantLat1
- the secant latitude expressed in radians.IlvBadProjectionParameter
- if the secant latitude specifies a
limiting form of the conic projection.setSecantLatitudes(ilog.views.maps.IlvCoordinate)
public void setSecantLatitude2(double secantLat2) throws IlvBadProjectionParameter
secantLat2
- the secant latitude expressed in radians.IlvBadProjectionParameter
- if the secant latitude specifies a
limiting form of the conic projection.setSecantLatitudes(ilog.views.maps.IlvCoordinate)
public double getSecantLatitude1()
public double getSecantLatitude2()
public IlvCoordinate getSecantLatitudes()
IlvCoordinate
that contains the latitudes at
which the cone intersects with the earth.protected void addDescription(StringBuffer buffer)
addDescription
in class IlvProjection
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.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.