|
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.
|
|
Coord2D * | asCoord () |
| | Return a Coord2D representing self.
|
|
bool | equals (Coord2H *other) |
| | Equality with other.
|
|
double | distanceTo (Coord2H *other) |
| | Calculate the distance to another.
|
|
Coord2H * | copyWithNewW (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.
|