| | | 1 | | namespace Itinero.Snapping; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// A settings objects for snapping options. |
| | | 5 | | /// </summary> |
| | | 6 | | public class SnapperSettings |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// A flag to enable the option of using any profile as valid instead of all. |
| | | 10 | | /// </summary> |
| | 472 | 11 | | public bool AnyProfile { get; set; } = false; |
| | | 12 | | |
| | | 13 | | /// <summary> |
| | | 14 | | /// A flag to check the can stop on data. |
| | | 15 | | /// </summary> |
| | 504 | 16 | | public bool CheckCanStopOn { get; set; } = true; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// The maximum distance of any snapping point or vertex returned. |
| | | 20 | | /// </summary> |
| | 505 | 21 | | public double MaxDistance { get; set; } = 100; |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// The offset in meter for the bounding box to check for potential edges or vertices. |
| | | 25 | | /// </summary> |
| | 550 | 26 | | public double OffsetInMeter { get; set; } = 100; |
| | | 27 | | |
| | | 28 | | /// <summary> |
| | | 29 | | /// The maximum offset in meter for the bounding box to check for potential edges or vertices. This is used when the |
| | | 30 | | /// </summary> |
| | 542 | 31 | | public double OffsetInMeterMax { get; set; } = 500; |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// Whether a candidate has to be connected to the wider network to be acceptable. |
| | | 35 | | /// </summary> |
| | | 36 | | /// <remarks> |
| | | 37 | | /// Off means nearest usable edge with no connectivity question asked; access and can-stop-on |
| | | 38 | | /// still apply. Snapping both ways identifies locations where connectivity actually matters. |
| | | 39 | | /// </remarks> |
| | 515 | 40 | | public bool CheckIslands { get; set; } = true; |
| | | 41 | | |
| | | 42 | | |
| | | 43 | | } |