jcreek.cke.util
Class DPoint3
java.lang.Object
jcreek.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public double x
y
public double y
z
public double z
DPoint3
public DPoint3()
DPoint3
public DPoint3(double x_in,
double y_in,
double z_in)
DPoint3
public DPoint3(DPoint3 init)
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