Pins distance to 0 <= distance <= getLength(), and then computes the corresponding position. @return null if there is no path, or a zero-length path was specified.
(float distance)
| 81 | * @return null if there is no path, or a zero-length path was specified. |
| 82 | */ |
| 83 | @Nullable |
| 84 | public Point getPosition(float distance) { |
| 85 | try { |
| 86 | Stats.onNativeCall(); |
| 87 | return _nGetPosition(_ptr, distance); |
| 88 | } finally { |
| 89 | Reference.reachabilityFence(this); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * Pins distance to 0 <= distance <= getLength(), and then computes |