Pins distance to 0 <= distance <= getLength(), and then computes the corresponding tangent. @return null if there is no path, or a zero-length path was specified.
(float distance)
| 97 | * @return null if there is no path, or a zero-length path was specified. |
| 98 | */ |
| 99 | @Nullable |
| 100 | public Point getTangent(float distance) { |
| 101 | try { |
| 102 | Stats.onNativeCall(); |
| 103 | return _nGetTangent(_ptr, distance); |
| 104 | } finally { |
| 105 | Reference.reachabilityFence(this); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Pins distance to 0 <= distance <= getLength(), and then computes |