Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

srm::SRF_Mercator Class Reference

SRF_Mercator class declaration. More...

#include <Mercator.h>

Inheritance diagram for srm::SRF_Mercator:

Inheritance graph
[legend]
Collaboration diagram for srm::SRF_Mercator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Coord3DcreateCoordinate3D (SRM_Long_Float coord_comp1, SRM_Long_Float coord_comp2, SRM_Long_Float coord_comp3)
 Returns a 3D coordinate object.

CoordSurfcreateSurfaceCoordinate (SRM_Long_Float coord_surf_comp1, SRM_Long_Float coord_surf_comp2)
 Returns a surface coordinate object.

const SRM_M_ParametersgetSRFParameters () const
 Returns a reference to the SRF parameter structure.

SRM_Long_Float get_origin_longitude () const
 Returns the origin_longitude SRF parameter value.

SRM_Long_Float get_central_scale () const
 Returns the central_scale SRF parameter value.

SRM_Long_Float get_false_easting () const
 Returns the false_easting SRF parameter value.

SRM_Long_Float get_false_northing () const
 Returns the false_northing SRF parameter value.

virtual bool isA (SRF_ClassType type) const
 Returns true if this SRF is of the given class type.

virtual SRF_ClassType getClassType () const
 Returns the class type of this SRF instance.

bool isEqual (const SRF_Mercator &srf) const
 Returns true is the SRF parameters are equal.

SRF_MercatormakeCopy () const
 Returns a copy of this SRF object.

const char * toString ()
 Returns char* of parameter names and their values.


Static Public Member Functions

SRF_Mercatorcreate (const SRM_ORM_Code orm, const SRM_RT_Code rt, const SRM_M_Parameters &params)
 Constructor by SRF parameter structure.

SRF_Mercatorcreate (SRM_ORM_Code orm, SRM_RT_Code rt, SRM_Long_Float origin_longitude, SRM_Long_Float central_scale, SRM_Long_Float false_easting, SRM_Long_Float false_northing)
 Constructor by individual SRF parameters.

SRF_Mercatorcreate (SRM_SRF_Parameters_Info srf_params)
 SRF_Mercator constructor by SRF parameter structure.


Protected Member Functions

 SRF_Mercator (void *impl)
 No stack allocation.

SRF_Mercatoroperator= (const BaseSRF &)
 No copy constructor.

virtual ~SRF_Mercator ()
 Use release().


Friends

class BaseSRF
class BaseSRF_3D
class BaseSRF_WithEllipsoidalHeight

Detailed Description

SRF_Mercator class declaration.

SRFs are allocated by the API, and when no longer needed they should be released by calling the release() method.

Author:
David Shen
See also:
BaseSRF_MapProjection

Definition at line 33 of file Mercator.h.


Member Function Documentation

SRF_Mercator* srm::SRF_Mercator::create SRM_SRF_Parameters_Info  srf_params  )  [inline, static]
 

SRF_Mercator constructor by SRF parameter structure.

Exceptions:
This method throws srm::Exception

Definition at line 59 of file Mercator.h.

SRF_Mercator* srm::SRF_Mercator::create SRM_ORM_Code  orm,
SRM_RT_Code  rt,
SRM_Long_Float  origin_longitude,
SRM_Long_Float  central_scale,
SRM_Long_Float  false_easting,
SRM_Long_Float  false_northing
[static]
 

Constructor by individual SRF parameters.

Exceptions:
This method throws srm::Exception

SRF_Mercator* srm::SRF_Mercator::create const SRM_ORM_Code  orm,
const SRM_RT_Code  rt,
const SRM_M_Parameters params
[static]
 

Constructor by SRF parameter structure.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_Mercator::get_central_scale  )  const
 

Returns the central_scale SRF parameter value.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_Mercator::get_false_easting  )  const
 

Returns the false_easting SRF parameter value.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_Mercator::get_false_northing  )  const
 

Returns the false_northing SRF parameter value.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_Mercator::get_origin_longitude  )  const
 

Returns the origin_longitude SRF parameter value.

Exceptions:
This method throws srm::Exception

const SRM_M_Parameters& srm::SRF_Mercator::getSRFParameters  )  const
 

Returns a reference to the SRF parameter structure.

Exceptions:
This method throws srm::Exception

SRF_Mercator* srm::SRF_Mercator::makeCopy  )  const
 

Returns a copy of this SRF object.

Exceptions:
This method throws srm::Exception

const char* srm::SRF_Mercator::toString  )  [virtual]
 

Returns char* of parameter names and their values.

Exceptions:
This method throws srm::Exception

Implements srm::BaseSRF.


The documentation for this class was generated from the following file:
Spatial Reference Model C++ API Version 4.1 - 26 Jun 2006
Copyright © 2006 SEDRIS Docs by Doxygen 1.3.2