|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metaio.sdk.jni.Vector2di
public class Vector2di
Structure that defines an integer 2D vector.
Constructor Summary | |
---|---|
Vector2di()
|
|
Vector2di(int _n)
|
|
Vector2di(int _x,
int _y)
|
|
Vector2di(long cPtr,
boolean cMemoryOwn)
|
|
Vector2di(Vector2di other)
|
Method Summary | |
---|---|
void |
delete()
|
static long |
getCPtr(Vector2di obj)
|
int |
getX()
x component of the vector |
int |
getY()
y component of the vector |
boolean |
isNull()
true if null vector, else false |
void |
setX(int value)
x component of the vector |
void |
setY(int value)
y component of the vector |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Vector2di(long cPtr, boolean cMemoryOwn)
public Vector2di()
public Vector2di(int _n)
_n
- x and y components of the vectorpublic Vector2di(int _x, int _y)
_x
- x component of the vector_y
- y component of the vectorpublic Vector2di(Vector2di other)
Method Detail |
---|
public static long getCPtr(Vector2di obj)
public void delete()
public void setX(int value)
public int getX()
public void setY(int value)
public int getY()
public boolean isNull()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |