public class MatchedWayPoint
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 |
---|
MatchedWayPoint()
Constructor
|
MatchedWayPoint(int x,
int y,
short course,
short retraction)
Constructor
|
MatchedWayPoint(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
MatchedWayPoint(long cPtr,
com.ptvag.navigation.sdk.NativeObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
short |
getCourse()
Returns the course of the mercator MatchedWayPoint.
|
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
short |
getRetraction()
Returns the retraction of the mercator MatchedWayPoint.
|
int |
getX()
Returns the longitude of the mercator MatchedWayPoint.
|
int |
getY()
Returns the latitude of the mercator MatchedWayPoint.
|
void |
setCourse(short course)
Sets the course of the mercator MatchedWayPoint.
|
void |
setRetraction(short retraction)
Sets the retraction of the mercator MatchedWayPoint.
|
void |
setX(int x)
Sets the longitude of the mercator MatchedWayPoint.
|
void |
setY(int y)
Sets the latitude of the mercator MatchedWayPoint.
|
java.lang.String |
toString() |
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public MatchedWayPoint(int x, int y, short course, short retraction)
x
- Mercator MatchedWayPoint (longitude)y
- Mercator MatchedWayPoint (latitude)course
- Mercator MatchedWayPoint (course)public MatchedWayPoint()
public MatchedWayPoint(long cPtr, boolean cMemoryOwn)
public MatchedWayPoint(long cPtr, com.ptvag.navigation.sdk.NativeObject parent)
public int getX()
public int getY()
public short getCourse()
public short getRetraction()
public void setX(int x)
x
- - the longitude.public void setY(int y)
y
- - the latitude.public void setCourse(short course)
course
- - the course.public void setRetraction(short retraction)
retraction
- - the retraction.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()