public class SVPWayPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
SVPWayPoint()
Constructor
|
SVPWayPoint(int x,
int y,
int direction)
Constructor
|
SVPWayPoint(int x,
int y,
short direction,
short type)
Constructor
|
SVPWayPoint(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
SVPWayPoint(long cPtr,
com.ptvag.navigation.sdk.NativeObject parent) |
SVPWayPoint(SVPWayPoint pos)
Constructor
|
SVPWayPoint(WayPoint p) |
SVPWayPoint(WayPoint p,
int direction) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
short |
getDirection()
Returns the course of the mercator SVPWayPoint.
|
protected static int |
getSize()
Returns the size of a native SDK_SVPWaypoint-Object.
|
short |
getType()
Returns the type of the mercator SVPWayPoint.
|
int |
getX()
Returns the longitude of the mercator SVPWayPoint.
|
int |
getY()
Returns the latitude of the mercator SVPWayPoint.
|
void |
setDirection(short direction)
Sets the course of the mercator SVPWayPoint.
|
void |
setType(short type)
Sets the type of the mercator SVPWayPoint.
|
void |
setX(int x)
Sets the longitude of the mercator SVPWayPoint.
|
void |
setY(int y)
Sets the latitude of the mercator SVPWayPoint.
|
java.lang.String |
toString() |
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public SVPWayPoint(int x, int y, short direction, short type)
x
- Mercator SVPWayPoint (longitude)y
- Mercator SVPWayPoint (latitude)direction
- Mercator SVPWayPoint (direction)type
- SVPWayPoint (type)public SVPWayPoint(int x, int y, int direction)
x
- Mercator SVPWayPoint (longitude)y
- Mercator SVPWayPoint (latitude)direction
- Mercator SVPWayPoint (direction)public SVPWayPoint(WayPoint p)
public SVPWayPoint(WayPoint p, int direction)
public SVPWayPoint()
public SVPWayPoint(SVPWayPoint pos)
pos
- - SVPWayPoint to initialize withpublic SVPWayPoint(long cPtr, boolean cMemoryOwn)
public SVPWayPoint(long cPtr, com.ptvag.navigation.sdk.NativeObject parent)
protected static int getSize()
public int getX()
public int getY()
public short getDirection()
public short getType()
public void setX(int x)
x
- - the longitude.public void setY(int y)
y
- - the latitude.public void setDirection(short direction)
direction
- - the course.public void setType(short type)
type
- - the type.public java.lang.String toString()
toString
in class java.lang.Object
public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete()