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

Coord3D Class Reference

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

#include <mcoord.h>

Inheritance diagram for Coord3D:

List of all members.

Public Methods

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

Detailed Description

Three-dimensional coordinates in float space.

Definition at line 73 of file mcoord.h.


Member Function Documentation

float dist const Coord3D &    o const [inline]
 

Computes distance between this and the other point.

See also:
sqdist

Definition at line 96 of file mcoord.h.

References x, y, and z.

float sqdist const Coord3D &    o const [inline]
 

Computes squared distance between this and the other point.

See also:
dist

Definition at line 102 of file mcoord.h.

References x, y, and z.


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