You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -82,12 +87,13 @@ public static int Normalize(double value, uint precision = 5, MidpointRounding r
82
87
/// </summary>
83
88
/// <remarks>
84
89
/// <para>
85
-
/// This method reverses the normalization process performed by <see cref="Normalize"/>. It takes an integer value and converts it
86
-
/// to a double by dividing it by 10 raised to the power of the specified precision. If the precision is 0, the value is returned as a double
87
-
/// without division.
90
+
/// This method reverses the normalization performed by <see cref="Normalize"/>. It takes an integer value and converts it
91
+
/// to a double by dividing by 10 raised to the power of the specified precision. If <paramref name="precision"/> is 0,
92
+
/// the value is returned as a double without division.
88
93
/// </para>
89
94
/// <para>
90
-
/// The calculation is performed inside a <see langword="checked"/> block to ensure that any arithmetic overflow is detected and an <see cref="OverflowException"/> is thrown.
95
+
/// The calculation is performed inside a <see langword="checked"/> block to ensure that any arithmetic overflow is detected
96
+
/// and an <see cref="OverflowException"/> is thrown.
91
97
/// </para>
92
98
/// <para>
93
99
/// For example, with a precision of 5:
@@ -106,21 +112,30 @@ public static int Normalize(double value, uint precision = 5, MidpointRounding r
106
112
/// <param name="precision">
107
113
/// The number of decimal places used during normalization. Default is 5, matching standard polyline encoding precision.
108
114
/// </param>
115
+
/// <param name="rounding">
116
+
/// The rounding strategy to use when converting the result to a double. Default is <see cref="MidpointRounding.AwayFromZero"/>.
117
+
/// </param>
109
118
/// <returns>
110
119
/// The denormalized floating-point coordinate value.
111
120
/// </returns>
112
121
/// <exception cref="OverflowException">
113
122
/// Thrown if the arithmetic operation overflows during conversion.
0 commit comments