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

srm::CoordSurf_Planetodetic Class Reference

A CoordSurf for SRF_Planetodetic. More...

#include <Planetodetic.h>

Inheritance diagram for srm::CoordSurf_Planetodetic:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CoordSurf_Planetodetic (SRF_Planetodetic *srf, SRM_Long_Float latitude=0.0, SRM_Long_Float longitude=0.0)
 Constructor.

 CoordSurf_Planetodetic (const CoordSurf_Planetodetic &coord)
 Copy constructor.

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

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

void setComponentValues (SRM_Long_Float longitude, SRM_Long_Float latitude)
 Sets all coordinate component values.

SRM_Long_Float get_latitude () const
 Returns the latitude value.

SRM_Long_Float get_longitude () const
 Returns the longitude value.

void set_latitude (SRM_Long_Float value)
 Sets the latitude value.

void set_longitude (SRM_Long_Float value)
 Sets the longitude 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_Planetodetic &rhs) const
 The equality operator.

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

CoordSurf_Planetodeticoperator= (const CoordSurf_Planetodetic &rhs)
 The assignment operator.


Detailed Description

A CoordSurf for SRF_Planetodetic.

Author:
David Shen
See also:
SRF_Planetodetic

Definition at line 335 of file Planetodetic.h.


Member Function Documentation

void srm::CoordSurf_Planetodetic::copyTo CoordSurf_Planetodetic 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 361 of file Planetodetic.h.

bool srm::CoordSurf_Planetodetic::isCompatibleWith const CoordSurf_Planetodetic 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 436 of file Planetodetic.h.

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

Returns true if the coordinate component values are identical.

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

Definition at line 373 of file Planetodetic.h.

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

The assignment operator.

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

Definition at line 445 of file Planetodetic.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