Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class defines the Lambert projection used in France. More...
#include <ilviews/maps/projection/frlamber.h>
Public Member Functions | |
IlvFrenchLambertProjection (IlvFrenchLambertMode mode=IlvFrenchLambert_II_extended) | |
Initializes an instance of IlvFrenchLambertPojection and sets it to the specified mode. | |
virtual IlvProjection * | copy () const |
Returns a copy of the projection. It must be overridden in each subclass. | |
virtual IlvProjectionClassInfo * | getClassInfo () const |
Returns the class information for the projection. | |
IlvFrenchLambertMode | getMode () const |
Returns the mode of the projection. | |
virtual void | setLLCenter (double, double) |
Specifies the central meridian and the central parallel (in radian) associated with the projection. | |
void | setMode (IlvFrenchLambertMode mode) |
Sets the mode of the projection. | |
virtual void | setScaleFactor (double) |
Sets the scale factor applied to the projected data. | |
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. | |
static const IlvEllipsoid * | GetNTFEllipsoid () |
Returns the ellipsoid used for the NTF geodesic system. | |
static IlDouble | GetParisMeridian () |
Returns the longitude of the Paris meridian in radian. | |
static const IlvEllipsoid * | GetRGF93Ellipsoid () |
Returns the ellipsoid used for the Lambert 93 mode of the projection. |
This class defines the Lambert projection used in France.
It is a special form of the IlvLambertConformalConicProjection
for which a set of parameters is defined for six different modes.
For small scale maps (1:25 000 and smaller), France has been divided into four zones. To each zone corresponds a mode of the projection:
For large scale maps, the Lambert II extended mode is generally used. Another mode is used for maps using the RGF93 geodesic system (RGF93 stands for "Réseau Géodesique Francais"). This mode is called Lambert 93.
The first five modes of the projection use an IGN version of the Clarke 1880 ellipsoid, while the Lambert 93 mode uses the GRS80 ellipsoid. The first five modes are centered on the Paris meridian that passes through the middle of the facade of the "Observatoire de Paris." The Lambert 93 is centered at 3 degrees east.
Library: ilvmaps
IlvFrenchLambertProjection::IlvFrenchLambertProjection | ( | IlvFrenchLambertMode | mode = IlvFrenchLambert_II_extended |
) |
Initializes an instance of IlvFrenchLambertPojection
and sets it to the specified mode.
mode | IlvFrenchLambertMode . |
static IlvProjectionClassInfo* IlvFrenchLambertProjection::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 IlvLambertConformalConicProjection.
static IlvClassInfo** IlvFrenchLambertProjection::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 IlvLambertConformalConicProjection.
virtual IlvProjection* IlvFrenchLambertProjection::copy | ( | ) | const [virtual] |
Returns a copy of the projection. It must be overridden in each subclass.
Reimplemented from IlvLambertConformalConicProjection.
virtual IlvProjectionClassInfo* IlvFrenchLambertProjection::getClassInfo | ( | ) | const [virtual] |
Returns the class information for the projection.
Reimplemented from IlvLambertConformalConicProjection.
IlvFrenchLambertMode IlvFrenchLambertProjection::getMode | ( | ) | const |
Returns the mode of the projection.
static const IlvEllipsoid* IlvFrenchLambertProjection::GetNTFEllipsoid | ( | ) | [static] |
Returns the ellipsoid used for the NTF geodesic system.
This geodesic system is used by the modes Lambert_I, Lambert_II, Lambert_III, Lambert_IV and Lambert_II_extended.
static IlDouble IlvFrenchLambertProjection::GetParisMeridian | ( | ) | [static] |
Returns the longitude of the Paris meridian in radian.
static const IlvEllipsoid* IlvFrenchLambertProjection::GetRGF93Ellipsoid | ( | ) | [static] |
Returns the ellipsoid used for the Lambert 93 mode of the projection.
virtual void IlvFrenchLambertProjection::setLLCenter | ( | double | lon, | |
double | lat | |||
) | [virtual] |
Specifies the central meridian and the central parallel (in radian) associated with the projection.
By default, theses values are set to 0
. This function is virtual because it can be overridden by subclasses of IlvProjection
to update the internal parameters when the center is changed.
lon | The central meridian in radian. | |
lat | The central parallel in radian. |
Reimplemented from IlvLambertConformalConicProjection.
void IlvFrenchLambertProjection::setMode | ( | IlvFrenchLambertMode | mode | ) |
Sets the mode of the projection.
mode | The mode of the projection. |
virtual void IlvFrenchLambertProjection::setScaleFactor | ( | double | k0 | ) | [virtual] |
Sets the scale factor applied to the projected data.
By default, the scale factor is 1.
k0 | The scale factor applied to the projected data. |
Reimplemented from IlvLambertConformalConicProjection.
virtual IlvMapsError IlvFrenchLambertProjection::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 from IlvLambertConformalConicProjection.
virtual void IlvFrenchLambertProjection::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 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.