< Summary

Class:Itinero.Snapping.SnapperSettings
Assembly:Itinero
File(s):/home/runner/work/routing2/routing2/src/Itinero/Snapping/SnapperSettings.cs
Covered lines:6
Uncovered lines:0
Coverable lines:6
Total lines:37
Line coverage:100% (6 of 6)
Covered branches:0
Total branches:0
Tag:224_14471318300

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_AnyProfile()100%1100%
get_CheckCanStopOn()100%1100%
get_MaxDistance()100%1100%
get_OffsetInMeter()100%1100%
get_OffsetInMeterMax()100%1100%
get_CheckIslands()100%1100%

File(s)

/home/runner/work/routing2/routing2/src/Itinero/Snapping/SnapperSettings.cs

#LineLine coverage
 1namespace Itinero.Snapping;
 2
 3/// <summary>
 4/// A settings objects for snapping options.
 5/// </summary>
 6public class SnapperSettings
 7{
 8    /// <summary>
 9    /// A flag to enable the option of using any profile as valid instead of all.
 10    /// </summary>
 13811    public bool AnyProfile { get; set; } = false;
 12
 13    /// <summary>
 14    /// A flag to check the can stop on data.
 15    /// </summary>
 13816    public bool CheckCanStopOn { get; set; } = true;
 17
 18    /// <summary>
 19    /// The maximum distance of any snapping point or vertex returned.
 20    /// </summary>
 13821    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>
 13926    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>
 13831    public double OffsetInMeterMax { get; set; } = 500;
 32
 33    /// <summary>
 34    /// A flag to control checking for islands.
 35    /// </summary>
 6936    public bool CheckIslands { get; set; } = true;
 37}