|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvitro.plane.Position
public class Position
Field Summary | |
---|---|
double |
x
|
double |
y
|
static Position |
ZERO
|
Constructor Summary | |
---|---|
Position(double x,
double y)
|
|
Position(Vector2 v)
|
Method Summary | |
---|---|
Vector2 |
displace(Position p)
|
boolean |
equals(Object o)
|
String |
toString()
|
Position |
translate(double u,
double v)
|
Position |
translate(Vector2 v)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Position ZERO
public final double x
public final double y
Constructor Detail |
---|
public Position(double x, double y)
public Position(Vector2 v)
Method Detail |
---|
public Position translate(double u, double v)
public Position translate(Vector2 v)
public Vector2 displace(Position p)
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |