|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprocessing.core.PVector
de.fhpotsdam.unfolding.utils.ScreenPosition
public class ScreenPosition
A ScreenPosition just a position on the screen. x and y are pixel coordinates in a given map. ScreenPosition offers all the convenient functions of PVector. Map has several functions to translate ScreenPosition to Location and vice versa.
| Field Summary |
|---|
| Fields inherited from class processing.core.PVector |
|---|
array, x, y, z |
| Constructor Summary | |
|---|---|
ScreenPosition(float[] xy)
|
|
ScreenPosition(float x,
float y)
|
|
| Method Summary |
|---|
| Methods inherited from class processing.core.PVector |
|---|
add, add, add, add, angleBetween, array, cross, cross, cross, dist, dist, div, div, div, dot, dot, dot, equals, fromAngle, fromAngle, get, get, hashCode, heading, heading2D, lerp, lerp, lerp, limit, mag, magSq, mult, mult, mult, normalize, normalize, random2D, random2D, random2D, random2D, random3D, random3D, random3D, random3D, rotate, set, set, set, set, setMag, setMag, sub, sub, sub, sub, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScreenPosition(float x,
float y)
public ScreenPosition(float[] xy)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||