jcreek.cke.util
Class DPoint3

java.lang.Object
  extended byjcreek.cke.util.DPoint3

public class DPoint3
extends java.lang.Object

A class for holding a real 3D position.

Here is the source.


Field Summary
 double x
           
 double y
           
 double z
           
 
Constructor Summary
DPoint3()
           
DPoint3(double x_in, double y_in, double z_in)
           
DPoint3(DPoint3 init)
           
 
Method Summary
 boolean equals(DPoint3 other)
           
 void move(double new_x, double new_y, double new_z)
           
 void move(DPoint3 newpt)
           
 void transform(Matrix44 matrix)
           
 void translate(double x_shift, double y_shift, double z_shift)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

z

public double z
Constructor Detail

DPoint3

public DPoint3()

DPoint3

public DPoint3(double x_in,
               double y_in,
               double z_in)

DPoint3

public DPoint3(DPoint3 init)
Method Detail

equals

public boolean equals(DPoint3 other)

move

public void move(double new_x,
                 double new_y,
                 double new_z)

move

public void move(DPoint3 newpt)

translate

public void translate(double x_shift,
                      double y_shift,
                      double z_shift)

transform

public void transform(Matrix44 matrix)


Created at IDI, NTNU by the Artificial Intelligence and Learning group