|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.geom.Point2D
java.awt.Point
as.clynx.interfaces.Position2D
public class Position2D
The class Position2D.java is part of the connection to extern applications. it specifies the distance to a centerpoint (0/0) and its linear distance.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.geom.Point2D |
---|
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
Field Summary | |
---|---|
float |
distance
|
Fields inherited from class java.awt.Point |
---|
x, y |
Constructor Summary | |
---|---|
Position2D(int x,
int y)
Constructor |
Method Summary | |
---|---|
void |
setUnitCenter(java.awt.Point center,
int radius)
sets the center of the unit. if center is not (0/0) the coordinate system is shiftet in that way that center becomes (0/0). |
Methods inherited from class java.awt.Point |
---|
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, toString, translate |
Methods inherited from class java.awt.geom.Point2D |
---|
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public float distance
Constructor Detail |
---|
public Position2D(int x, int y)
x
- y
- Method Detail |
---|
public void setUnitCenter(java.awt.Point center, int radius)
center
- radius
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |