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

srm::Coord2D Class Reference

The Coord2D abstract class is used for representing 2D coordinates. More...

#include <Coord.h>

Inheritance diagram for srm::Coord2D:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

const SRM_Long_FloatgetValues () const
 Returns the coordinate component values as an array.

void setValues (const Vector2 &values)
 Sets the coordinate component values as an array.

const char * toString ()
 Returns a string of the 2D coodinate component values.


Protected Member Functions

 Coord2D (BaseSRF *srf)
 Constructor.


Protected Attributes

Vector2 _values
 An array to store the coordinate component values.


Detailed Description

The Coord2D abstract class is used for representing 2D coordinates.

See also:
Coord

Definition at line 128 of file Coord.h.


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