@@ -17,7 +17,7 @@ namespace PolylineAlgorithm;
1717/// <remarks>
1818/// <para>
1919/// Use <see cref="Create"/> to obtain an instance, call <see cref="AddValue"/> once per column,
20- /// optionally chain <see cref="SetBaseline"/> to specify an epoch for the most-recently added column,
20+ /// optionally chain <see cref="SetBaseline"/> to set a reference baseline for the most-recently added column,
2121/// optionally chain <see cref="WithCreate"/> to register a factory for the decoding direction,
2222/// call <see cref="ForPolyline"/> to supply the polyline surface delegates (required), then call
2323/// <see cref="Build"/> to produce the immutable <see cref="PolylineFormatter{TCoordinate, TPolyline}"/>.
@@ -87,11 +87,17 @@ public FormatterBuilder<TCoordinate, TPolyline> AddValue(string name, Func<TCoor
8787 }
8888
8989 /// <summary>
90- /// Sets a baseline (epoch) on the most-recently added column.
91- /// During encoding the baseline is subtracted from the first item's scaled column value,
92- /// keeping the initial delta small when the absolute first value is large.
90+ /// Sets a reference value (baseline) on the most-recently added column.
91+ /// During encoding, the baseline is subtracted from the first item's scaled column value so that
92+ /// the initial delta is <c>scaled_first_value − baseline</c> rather than <c>scaled_first_value</c>.
93+ /// Use this when the absolute scaled value of the first data point for a column would otherwise
94+ /// produce a very large initial encoded delta.
9395 /// </summary>
94- /// <param name="baseline">The baseline value to apply to the first item's column value.</param>
96+ /// <param name="baseline">
97+ /// The reference value to subtract from the first item's scaled column value during encoding.
98+ /// The decoder automatically adds this value back, so the reconstructed item matches the
99+ /// original input.
100+ /// </param>
95101 /// <returns>The current builder instance for method chaining.</returns>
96102 /// <exception cref="InvalidOperationException">
97103 /// Thrown when no rules have been added yet. Call <see cref="AddValue"/> before
0 commit comments