SBS::Coord2H Class Reference

Class to support 2H Coordinate storage. More...

List of all members.

Public Member Functions

 Coord2H (double WX, double WY, double W)
 Create a new Coord2H with the passed weighted x, y and weight values.
 Coord2H (Coord2H *another)
 Clone constructor.
 Coord2H (Coord2D *another)
 Create a new Coord2H from the passed Coord2D.
double x ()
 Return the x ordiante.
double y ()
 Return the y ordinate.
Coord2DasCoord ()
 Return a Coord2D representing self.
bool equals (Coord2H *other)
 Equality with other.
double distanceTo (Coord2H *other)
 Calculate the distance to another.
Coord2HcopyWithNewW (double newW)
 Create a copy of self with the new W value See Coordinate2h_mixin.copy_with_new_w().

Public Attributes

double wx
 The weighted x ordinate.
double wy
 The weighted y ordinate.
double w
 The weight.


Detailed Description

Class to support 2H Coordinate storage.


The documentation for this class was generated from the following file:
Generated on Fri May 19 07:08:23 2006 for SWConnector by  doxygen 1.4.6-NO