|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcore.field.Vec2Field
A 2-dimensional vector field. Vector fields are created by deriving subclasses that define a function mapping from Vec2 to Vec2.
Constructor Summary | |
Vec2Field()
|
Method Summary | |
Vec2 |
get(Vec2 p)
Returns: a new Vec2 with the value of the field at 'p'. |
abstract Vec2 |
get(Vec2 p,
Vec2 f)
Sets 'f' to the value of the field at 'p'. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Vec2Field()
Method Detail |
public abstract Vec2 get(Vec2 p, Vec2 f)
public Vec2 get(Vec2 p)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |