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

srm::SRF_TransverseMercator Class Reference

SRF_TransverseMercator class declaration. More...

#include <TransverseMercator.h>

Inheritance diagram for srm::SRF_TransverseMercator:

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

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_TM_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_origin_latitude () const
 Returns the origin_latitude 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_TransverseMercator &srf) const
 Returns true if the SRF parameters are equal.

bool operator== (const SRF_TransverseMercator &rhs) const
 The equality operator.

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

virtual SRM_Coordinate_Valid_Region changeCoordinate3DSRF (const Coord3D &src_coord, Coord3D &des_coord)
 Changes a coordinate's values to this SRF (optimized implementation).

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


Static Public Member Functions

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

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

SRF_TransverseMercatorcreate (SRM_SRF_Parameters_Info srf_params)
 SRF_TransverseMercator constructor by SRF parameter structure.


Protected Member Functions

 SRF_TransverseMercator (void *impl)
 No stack allocation.

SRF_TransverseMercatoroperator= (const SRF_TransverseMercator &)
 No copy constructor.

virtual ~SRF_TransverseMercator ()
 Use release().


Friends

class BaseSRF
class BaseSRF_3D
class BaseSRF_WithEllipsoidalHeight

Detailed Description

SRF_TransverseMercator 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 89 of file TransverseMercator.h.


Member Function Documentation

virtual SRM_Coordinate_Valid_Region srm::SRF_TransverseMercator::changeCoordinate3DSRF const Coord3D src_coord,
Coord3D des_coord
[virtual]
 

Changes a coordinate's values to this SRF (optimized implementation).

Note:
The destination coordinate must have been created using this SRF.
Parameters:
src_coord in: the source coordinate in some other SRF
des_coord in/out: the destination coordinate in this SRF
Returns:
validity code for the destination coordinate
Exceptions:
This method throws srm::Exception

Reimplemented from srm::BaseSRF_3D.

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

SRF_TransverseMercator constructor by SRF parameter structure.

Exceptions:
This method throws srm::Exception

Definition at line 115 of file TransverseMercator.h.

SRF_TransverseMercator* srm::SRF_TransverseMercator::create SRM_ORM_Code  orm,
SRM_RT_Code  rt,
SRM_Long_Float  origin_longitude,
SRM_Long_Float  origin_latitude,
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_TransverseMercator* srm::SRF_TransverseMercator::create SRM_ORM_Code  orm,
SRM_RT_Code  rt,
const SRM_TM_Parameters params
[static]
 

Constructor by SRF parameter structure.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_TransverseMercator::get_central_scale  )  const
 

Returns the central_scale SRF parameter value.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_TransverseMercator::get_false_easting  )  const
 

Returns the false_easting SRF parameter value.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_TransverseMercator::get_false_northing  )  const
 

Returns the false_northing SRF parameter value.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_TransverseMercator::get_origin_latitude  )  const
 

Returns the origin_latitude SRF parameter value.

Exceptions:
This method throws srm::Exception

SRM_Long_Float srm::SRF_TransverseMercator::get_origin_longitude  )  const
 

Returns the origin_longitude SRF parameter value.

Exceptions:
This method throws srm::Exception

const SRM_TM_Parameters& srm::SRF_TransverseMercator::getSRFParameters  )  const
 

Returns a reference to the SRF parameter structure.

Exceptions:
This method throws srm::Exception

bool srm::SRF_TransverseMercator::isEqual const SRF_TransverseMercator srf  )  const
 

Returns true if the SRF parameters are equal.

Note:
This method is deprecated. Use the equality operator.

SRF_TransverseMercator* srm::SRF_TransverseMercator::makeCopy  )  const
 

Returns a copy of this SRF object.

Exceptions:
This method throws srm::Exception

bool srm::SRF_TransverseMercator::operator== const SRF_TransverseMercator rhs  )  const
 

The equality operator.

Note:
This operator returns true if the SRFs have identical parameter values.

const char* srm::SRF_TransverseMercator::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.4 - December 7, 2009
Copyright © 2009 SEDRIS Docs by Doxygen 1.3.2