Loading...
Searching...
No Matches
RoutePathBinding.java
Go to the documentation of this file.
1package com.navigine.idl.java.internal;
2
3import com.navigine.common.NativeObject;
4import com.navigine.idl.java.RouteNode;
5import com.navigine.idl.java.RoutePath;
6import java.util.ArrayList;
7
12public class RoutePathBinding extends RoutePath
13{
14 private final NativeObject nativeObject;
15
19 protected RoutePathBinding(NativeObject nativeObject)
20 {
21 this.nativeObject = nativeObject;
22 }
23
24 // RoutePath methods
25
26 @Override
27 public RoutePath head(float advance)
28 {
29 return native_head(advance);
30 }
31 private native RoutePath native_head(float advance);
32
33 @Override
34 public RoutePath tail(float advance)
35 {
36 return native_tail(advance);
37 }
38 private native RoutePath native_tail(float advance);
39
40 @Override
41 public ArrayList<RouteNode> nodes()
42 {
43 return native_nodes();
44 }
45 private native ArrayList<RouteNode> native_nodes();
46
47 @Override
48 public float getLength()
49 {
50 return native_getLength();
51 }
52 private native float native_getLength();
53
54 @Override
55 public float getWeight()
56 {
57 return native_getWeight();
58 }
59 private native float native_getWeight();
60}