|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fixbin.ddd.Point
This class represents a single dot in the 3D environment
| Field Summary | |
int |
dispX
|
int |
dispY
|
long |
distance
|
long |
dx
|
long |
dy
|
long |
dz
|
long |
x
|
long |
y
|
long |
z
|
| Constructor Summary | |
Point(long x,
long y,
long z)
Creates a new instance of Point |
|
| Method Summary | |
void |
calculate(Point offset,
Matrix33 view,
long centerX,
long centerY,
long scrDist)
|
long |
getDistance()
Returns the distance of the point to the "visual zero" |
void |
multiply(Matrix33 mat)
Multiplies this point with a matrix (can be used to rotate objects) |
void |
render(Graphics g)
This method requests the object to render itself to a graphics object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public long x
public long y
public long z
public long dx
public long dy
public long dz
public int dispX
public int dispY
public long distance
| Constructor Detail |
public Point(long x,
long y,
long z)
x - (long)y - (long)z - (long)| Method Detail |
public void calculate(Point offset,
Matrix33 view,
long centerX,
long centerY,
long scrDist)
public void render(Graphics g)
Object3D
render in interface Object3Dg - (Graphics) the graphics interface to render topublic long getDistance()
getDistance in interface Object3Dpublic void multiply(Matrix33 mat)
mat - (Matrix33)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||