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

srm::CoordSurf_PolarStereographic Class Reference

A CoordSurf for SRF_PolarStereographic. More...

#include <PolarStereographic.h>

Inheritance diagram for srm::CoordSurf_PolarStereographic:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CoordSurf_PolarStereographic (SRF_PolarStereographic *srf, SRM_Long_Float easting=0.0, SRM_Long_Float northing=0.0)
 Constructor.

 CoordSurf_PolarStereographic (const CoordSurf_PolarStereographic &coord)
 Copy constructor.

void copyTo (CoordSurf_PolarStereographic &coord) const
 Copies component values to the coordinate.

bool isEqual (const CoordSurf_PolarStereographic &coord) const
 Returns true if the coordinate component values are identical.

void setComponentValues (SRM_Long_Float easting, SRM_Long_Float northing)
 Sets all coordinate component values.

SRM_Long_Float get_easting () const
 Returns the easting value.

SRM_Long_Float get_northing () const
 Returns the northing value.

void set_easting (SRM_Long_Float value)
 Sets the easting value.

void set_northing (SRM_Long_Float value)
 Sets the northing value.

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

virtual Coord_ClassType getClassType () const
 Returns true if this SRF is of the given class type.

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

bool isCompatibleWith (const CoordSurf_PolarStereographic &rhs) const
 Returns true if the coordinates are associated with SRFs with identical parameters.

CoordSurf_PolarStereographicoperator= (const CoordSurf_PolarStereographic &rhs)
 The assignment operator.


Detailed Description

A CoordSurf for SRF_PolarStereographic.

Author:
David Shen
See also:
SRF_PolarStereographic

Definition at line 395 of file PolarStereographic.h.


Member Function Documentation

void srm::CoordSurf_PolarStereographic::copyTo CoordSurf_PolarStereographic coord  )  const [inline]
 

Copies component values to the coordinate.

Note:
The coordinates must be associated with the same SRF instance.

This method is deprecated. Use the assignment operator.

Exceptions:
This method throws srm::Exception

Definition at line 421 of file PolarStereographic.h.

bool srm::CoordSurf_PolarStereographic::isCompatibleWith const CoordSurf_PolarStereographic rhs  )  const [inline]
 

Returns true if the coordinates are associated with SRFs with identical parameters.

Note:
This method should be used to evaluate coordinate compatibility before calling the coordinate assignment operator to avoid raising runtime exception when operating on incompatible coordinates.

Definition at line 496 of file PolarStereographic.h.

bool srm::CoordSurf_PolarStereographic::isEqual const CoordSurf_PolarStereographic coord  )  const [inline]
 

Returns true if the coordinate component values are identical.

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

Definition at line 433 of file PolarStereographic.h.

CoordSurf_PolarStereographic& srm::CoordSurf_PolarStereographic::operator= const CoordSurf_PolarStereographic rhs  )  [inline]
 

The assignment operator.

Note:
This operator will check whether the coordinates are compatible.
Exceptions:
This method throws srm::Exception

Definition at line 505 of file PolarStereographic.h.


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