@@ -9,84 +9,87 @@ namespace PolylineAlgorithm.Internal;
9
9
using System . Diagnostics . CodeAnalysis ;
10
10
11
11
/// <summary>
12
- /// Defines default values
12
+ /// Provides default values used in the Polyline Algorithm.
13
13
/// </summary>
14
14
[ ExcludeFromCodeCoverage ]
15
15
internal static class Defaults {
16
+ /// <summary>
17
+ /// Contains default values related to the algorithm.
18
+ /// </summary>
16
19
public static class Algorithm {
17
20
/// <summary>
18
- /// Defines the coordinate precision
21
+ /// The precision used for coordinates.
19
22
/// </summary>
20
23
public const double Precision = 1E5 ;
21
24
22
25
/// <summary>
23
- /// Defines the shift length
26
+ /// The length of the shift used in the algorithm.
24
27
/// </summary>
25
28
public const byte ShiftLength = 5 ;
26
29
27
30
/// <summary>
28
- /// Defines the ASCII Question Mark
31
+ /// The ASCII value for the question mark character.
29
32
/// </summary>
30
33
public const byte QuestionMark = 63 ;
31
34
32
35
/// <summary>
33
- /// Defines the ASCII Space
36
+ /// The ASCII value for the space character.
34
37
/// </summary>
35
38
public const byte Space = 32 ;
36
39
37
40
/// <summary>
38
- /// Defines the ASCII Unit Separator
41
+ /// The ASCII value for the unit separator character.
39
42
/// </summary>
40
43
public const byte UnitSeparator = 31 ;
41
44
}
42
45
43
46
/// <summary>
44
- /// Defines coordinates default values
47
+ /// Contains default values related to coordinates.
45
48
/// </summary>
46
49
public static class Coordinate {
47
50
/// <summary>
48
- /// Defines latitude default values
51
+ /// Contains default values related to latitude.
49
52
/// </summary>
50
53
public static class Latitude {
51
54
/// <summary>
52
- /// Defines the maximum value for latitude
55
+ /// The minimum value for latitude.
53
56
/// </summary>
54
57
public const sbyte Min = - Max ;
55
58
56
59
/// <summary>
57
- /// Defines the maximum value for latitude
60
+ /// The maximum value for latitude.
58
61
/// </summary>
59
62
public const byte Max = 90 ;
60
63
}
61
64
62
65
/// <summary>
63
- /// Defines longitude default values
66
+ /// Contains default values related to longitude.
64
67
/// </summary>
65
68
public static class Longitude {
66
69
/// <summary>
67
- /// Defines the maximum value for longitude
70
+ /// The minimum value for longitude.
68
71
/// </summary>
69
72
public const short Min = - Max ;
70
73
71
74
/// <summary>
72
- /// Defines the maximum value for longitude
75
+ /// The maximum value for longitude.
73
76
/// </summary>
74
77
public const byte Max = 180 ;
75
78
}
76
79
77
80
/// <summary>
78
- /// Defines default ranges for latitude and longitude
81
+ /// Contains default ranges for latitude and longitude.
79
82
/// </summary>
80
83
public static class Range {
81
84
/// <summary>
82
- /// Defines latitude validation range
85
+ /// The validation range for latitude.
83
86
/// </summary>
84
87
public static readonly CoordinateRange Latitude = new ( Coordinate . Latitude . Min , Coordinate . Latitude . Max ) ;
85
88
86
89
/// <summary>
87
- /// Defines longitude validation range
90
+ /// The validation range for longitude.
88
91
/// </summary>
89
92
public static readonly CoordinateRange Longitude = new ( Coordinate . Longitude . Min , Coordinate . Longitude . Max ) ;
90
93
}
91
94
}
92
- }
95
+ }
0 commit comments