jcreek.cke.util
Class DPoint
java.lang.Object
jcreek.cke.util.DPoint
- public class DPoint
- extends java.lang.Object
A class for holding a real position.
Here is the source.
- Author:
- Larry Barowski
Field Summary |
double |
x
|
double |
y
|
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
DPoint
public DPoint(double x_in,
double y_in)
DPoint
public DPoint()
DPoint
public DPoint(DPoint init)
equals
public boolean equals(DPoint other)
move
public void move(double new_x,
double new_y)
move
public void move(DPoint to)
translate
public void translate(double x_shift,
double y_shift)
transform
public void transform(Matrix33 matrix)
Created at IDI, NTNU by the Artificial Intelligence and Learning group