theba.core.math.Point3D Class Reference

List of all members.

Public Member Functions

 Point3D (int x, int y, int z)
 Point3D (LumenCandidate lc)
String toString ()
double distanceFrom (Point3D p2)
void normalize ()

Public Attributes

int x
int y
int z

Detailed Description

A class representing a 3D point or vector

Author:
jensbw

Definition at line 11 of file Point3D.java.


Constructor & Destructor Documentation

theba.core.math.Point3D.Point3D ( int  x,
int  y,
int  z 
)

Definition at line 14 of file Point3D.java.

Referenced by theba.core.math.Point3D.normalize().

theba.core.math.Point3D.Point3D ( LumenCandidate  lc  ) 

Member Function Documentation

double theba.core.math.Point3D.distanceFrom ( Point3D  p2  ) 

Calculates the distance to a given 3D point

Definition at line 36 of file Point3D.java.

References theba.core.math.Point3D.x, theba.core.math.Point3D.y, and theba.core.math.Point3D.z.

Referenced by theba.core.math.Point3D.normalize().

void theba.core.math.Point3D.normalize (  ) 
String theba.core.math.Point3D.toString (  ) 

Represents this object as a string

Definition at line 29 of file Point3D.java.

References theba.core.math.Point3D.x, theba.core.math.Point3D.y, and theba.core.math.Point3D.z.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Fri Nov 13 08:57:08 2009 for Theba by  doxygen 1.6.1