rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvFrenchLambertProjection Class Reference

This class defines the Lambert projection used in France. More...

#include <ilviews/maps/projection/frlamber.h>

Inheritance diagram for IlvFrenchLambertProjection:
IlvLambertConformalConicProjection IlvConicProjection IlvProjection

List of all members.

Public Member Functions

 IlvFrenchLambertProjection (IlvFrenchLambertMode mode=IlvFrenchLambert_II_extended)
 Initializes an instance of IlvFrenchLambertPojection and sets it to the specified mode.
virtual IlvProjectioncopy () const
 Returns a copy of the projection. It must be overridden in each subclass.
virtual IlvProjectionClassInfogetClassInfo () 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 IlvProjectionClassInfoClassInfo ()
 Returns the class information of the class.
static IlvClassInfo ** ClassInfoRef ()
 Returns the address of the class information of the class.
static const IlvEllipsoidGetNTFEllipsoid ()
 Returns the ellipsoid used for the NTF geodesic system.
static IlDouble GetParisMeridian ()
 Returns the longitude of the Paris meridian in radian.
static const IlvEllipsoidGetRGF93Ellipsoid ()
 Returns the ellipsoid used for the Lambert 93 mode of the projection.

Detailed Description

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&eacute;seau G&eacute;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.

IlvFrenchLambertProjectiona.gif


Library: ilvmaps


Constructor & Destructor Documentation

IlvFrenchLambertProjection::IlvFrenchLambertProjection ( IlvFrenchLambertMode  mode = IlvFrenchLambert_II_extended  ) 

Initializes an instance of IlvFrenchLambertPojection and sets it to the specified mode.

Parameters:
mode IlvFrenchLambertMode.
See also:
IlvFrenchLambertMode.

Member Function Documentation

static IlvProjectionClassInfo* IlvFrenchLambertProjection::ClassInfo (  )  [static]

Returns the class information of the class.

This static function is also available for the subclasses of IlvProjection.

Returns:
The 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.

Returns:
The address of the 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.

Returns:
The copy of the object.

Reimplemented from IlvLambertConformalConicProjection.

virtual IlvProjectionClassInfo* IlvFrenchLambertProjection::getClassInfo (  )  const [virtual]

Returns the class information for the projection.

Returns:
The class information for the projection.

Reimplemented from IlvLambertConformalConicProjection.

IlvFrenchLambertMode IlvFrenchLambertProjection::getMode (  )  const

Returns the mode of the projection.

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.

Returns:
the ellipsoid used for the NTF geodesic system.
static IlDouble IlvFrenchLambertProjection::GetParisMeridian (  )  [static]

Returns the longitude of the Paris meridian in radian.

Returns:
The longitude of the Paris meridian.
static const IlvEllipsoid* IlvFrenchLambertProjection::GetRGF93Ellipsoid (  )  [static]

Returns the ellipsoid used for the Lambert 93 mode of the projection.

Returns:
The ellipsoid used for the Lambert 93 mode.
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.
Returns:
An error status if the latitudes specify a limiting form, that is, if secant.x = -secant.y or secant.x = secant.y = PI/2.

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.

Parameters:
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.