| | | 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> |
| | 146 | 11 | | public bool AnyProfile { get; set; } = false; |
| | | 12 | | |
| | | 13 | | /// <summary> |
| | | 14 | | /// A flag to check the can stop on data. |
| | | 15 | | /// </summary> |
| | 146 | 16 | | public bool CheckCanStopOn { get; set; } = true; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// The maximum distance of any snapping point or vertex returned. |
| | | 20 | | /// </summary> |
| | 146 | 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> |
| | 147 | 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> |
| | 146 | 31 | | public double OffsetInMeterMax { get; set; } = 500; |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// A flag to control checking for islands. |
| | | 35 | | /// </summary> |
| | 73 | 36 | | public bool CheckIslands { get; set; } = true; |
| | | 37 | | } |