Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Coord2D Class Reference

Two-dimensional coordinates in float space. More...

#include <mcoord.h>

List of all members.

Public Methods

float dist (const Coord2D &o) const
float sqdist (const Coord2D &o) const


Detailed Description

Two-dimensional coordinates in float space.

Definition at line 25 of file mcoord.h.


Member Function Documentation

float dist const Coord2D &    o const [inline]
 

Computes distance between this and the other point.

See also:
sqdist

Definition at line 50 of file mcoord.h.

References x, and y.

float sqdist const Coord2D &    o const [inline]
 

Computes squared distance between this and the other point.

(faster)

See also:
dist

Definition at line 56 of file mcoord.h.

References x, and y.


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:06:43 2005 for LibMagiC by doxygen1.2.18