Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This abstract class is the base class for all the conic projections in the library. More...
#include <ilviews/maps/projection/conic.h>
Public Member Functions | |
virtual IlvProjectionClassInfo * | getClassInfo () const |
Returns the class information for the projection. | |
IlDouble | getSecantLatitude1 (void) const |
Gets the first secant latitude. | |
IlDouble | getSecantLatitude2 (void) const |
Gets the second secant latitude. | |
const IlvCoordinate & | getSecantLatitudes () const |
Returns the secant latitudes of the projection in an IlvCoordinate . | |
IlvMapsError | setSecantLatitude1 (IlDouble v) |
Sets the first secant latitude. | |
IlvMapsError | setSecantLatitude2 (IlDouble v) |
Sets the second secant latitude. | |
virtual IlvMapsError | setSecantLatitudes (const IlvCoordinate &secant) |
Sets the latitudes at which the cone of the projection intersects with the earth. | |
virtual void | write (IlvOutputFile &) const |
Saves the parameters of a projection to the specified output file. | |
Static Public Member Functions | |
static IlvProjectionClassInfo * | ClassInfo () |
Returns the class information of the class. | |
static IlvClassInfo ** | ClassInfoRef () |
Returns the address of the class information of the class. | |
Protected Member Functions | |
IlvConicProjection (IlBoolean ellipsoidEnabled, IlBoolean inverseEnabled, IlvProjectionGeometricProperty property, IlStringHashTable *proj4Params=0) | |
Initializes a new instance of the class IlvConicProjection . |
This abstract class is the base class for all the conic projections in the library.
A conic projection transfers the image of the globe to a cone, either secant or tangent to the surface of the earth. The latitudes at which the cone intersects with the globe can be specified with the function setSecantLatitudes(IlvCoordinate secant)
. The secant parameter is a vector that contains two values:
secant.x represents the first latitude at which the cone intersects with the earth.
secant.y represents the second latitude.
When the cone is tangent to the earth, secant.x equals secant.y.
IlvConicProjection::IlvConicProjection | ( | IlBoolean | ellipsoidEnabled, | |
IlBoolean | inverseEnabled, | |||
IlvProjectionGeometricProperty | property, | |||
IlStringHashTable * | proj4Params = 0 | |||
) | [protected] |
Initializes a new instance of the class IlvConicProjection
.
ellipsoidEnabled | A Boolean argument that should be set to IlTrue if non-spherical ellipsoids can be used for the projection. Projections supporting non-spherical ellipsoids should implement the eForward member function. | |
inverseEnabled | A Boolean argument that should be set to IlTrue if the projection implements an inverse function. This type of projection should implement the sInverse and eInverse member functions if ellipsoids are supported. | |
property | Specifies the geometric property of the projection. This argument can take one of the following values:
|
static IlvProjectionClassInfo* IlvConicProjection::ClassInfo | ( | ) | [static] |
Returns the class information of the class.
This static function is also available for the subclasses of IlvProjection
.
IlvProjectionClassInfo
of the class. Reimplemented from IlvProjection.
Reimplemented in IlvAlbersEqualAreaProjection, IlvFrenchLambertProjection, IlvLambertEqualAreaConicProjection, and IlvLambertConformalConicProjection.
static IlvClassInfo** IlvConicProjection::ClassInfoRef | ( | ) | [static] |
Returns the address of the class information of the class.
This static function is also available for the subclasses of IlvProjection
.
IlvProjectionClassInfo
of the class. Reimplemented from IlvProjection.
Reimplemented in IlvAlbersEqualAreaProjection, IlvFrenchLambertProjection, IlvLambertEqualAreaConicProjection, and IlvLambertConformalConicProjection.
virtual IlvProjectionClassInfo* IlvConicProjection::getClassInfo | ( | ) | const [virtual] |
Returns the class information for the projection.
Reimplemented from IlvProjection.
Reimplemented in IlvAlbersEqualAreaProjection, IlvFrenchLambertProjection, IlvLambertEqualAreaConicProjection, and IlvLambertConformalConicProjection.
IlDouble IlvConicProjection::getSecantLatitude1 | ( | void | ) | const |
Gets the first secant latitude.
IlDouble IlvConicProjection::getSecantLatitude2 | ( | void | ) | const |
Gets the second secant latitude.
const IlvCoordinate& IlvConicProjection::getSecantLatitudes | ( | ) | const |
Returns the secant latitudes of the projection in an IlvCoordinate
.
IlvCoordinate
object containing the secant latitudes. IlvMapsError IlvConicProjection::setSecantLatitude1 | ( | IlDouble | v | ) |
Sets the first secant latitude.
v | The first secant latitude. |
IlvMapsError IlvConicProjection::setSecantLatitude2 | ( | IlDouble | v | ) |
Sets the second secant latitude.
v | The second secant latitude. |
virtual IlvMapsError IlvConicProjection::setSecantLatitudes | ( | const IlvCoordinate & | secant | ) | [virtual] |
Sets the latitudes at which the cone of the projection intersects with the earth.
secant | A vector that contains two values: secant.x represents the first latitude at which the cone intersects with the earth. secant.y represents the second latitude at which the cone intersects with the earth. Both values are expressed in radian. |
Reimplemented in IlvAlbersEqualAreaProjection, IlvFrenchLambertProjection, IlvLambertEqualAreaConicProjection, and IlvLambertConformalConicProjection.
virtual void IlvConicProjection::write | ( | IlvOutputFile & | outputFile | ) | const [virtual] |
Saves the parameters of a projection to the specified output file.
It must be overridden by subclasses of IlvProjection
that need to save additional parameters. This function should not be directly called; use the save function instead.
outputFile | The file to write the projection parameters to. |
Reimplemented from IlvProjection.
Reimplemented in IlvAlbersEqualAreaProjection, IlvFrenchLambertProjection, IlvLambertEqualAreaConicProjection, and IlvLambertConformalConicProjection.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.