Loading...
Searching...
No Matches
RouteOptions.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
25public final class RouteOptions {
26
27
28 /*package*/ final double smoothRadius;
29
30 /*package*/ final double maxProjectionDistance;
31
32 /*package*/ final double maxAdvance;
33
38 double smoothRadius,
39 double maxProjectionDistance,
40 double maxAdvance) {
41 this.smoothRadius = smoothRadius;
42 this.maxProjectionDistance = maxProjectionDistance;
43 this.maxAdvance = maxAdvance;
44 }
45
49 public RouteOptions() {
50 this(0, 5, 2);
51 }
52
60 public double getSmoothRadius() {
61 return smoothRadius;
62 }
63
70 public double getMaxProjectionDistance() {
71 return maxProjectionDistance;
72 }
73
80 public double getMaxAdvance() {
81 return maxAdvance;
82 }
83
84 @Override
85 public String toString() {
86 return "RouteOptions{" +
87 "smoothRadius=" + smoothRadius +
88 "," + "maxProjectionDistance=" + maxProjectionDistance +
89 "," + "maxAdvance=" + maxAdvance +
90 "}";
91 }
92
93}