SomeName::Coord Class Reference

#include <Coord.h>

Inheritance diagram for SomeName::Coord:

SomeName::Root List of all members.

Detailed Description

A tiny service class representing a <x,y> Euclidean point.

The 'x' and 'y' fields are public. I hope I don't end up regretting this - I probably will! [wmh]


Public Member Functions

 Coord (u2 x, u2 y)
 Coord (const Coord &coord)
std::string str (int prec=2) const
Coord operator+ (const Coord &c) const
Coord operator+ (u2 val) const
Coordoperator+= (const Coord &c)
Coordoperator+= (u2 val)
Coord operator- (const Coord &c) const
Coord operator- (u2 val) const
Coordoperator-= (const Coord &c)
Coordoperator-= (u2 val)

Public Attributes

u2 x
u2 y


The documentation for this class was generated from the following files:
Generated on Thu Jun 8 11:53:14 2006 for SomeName by  doxygen 1.4.6