File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ namespace PolylineAlgorithm;
13
13
using System . Runtime . CompilerServices ;
14
14
15
15
/// <summary>
16
- /// Performs polyline algorithm encoding
16
+ /// Provides methods to encode a set of coordinates into a polyline string.
17
17
/// </summary>
18
18
public class PolylineEncoder : IPolylineEncoder {
19
19
/// <summary>
20
- /// Encodes a set of coordinates to polyline.
20
+ /// Encodes a set of coordinates into a polyline string .
21
21
/// </summary>
22
- /// <param name="coordinates">Coordinates to encode.</param>
23
- /// <returns>Polyline encoded representation .</returns>
24
- /// <exception cref="ArgumentNullException">Thrown when <paramref name="coordinates"/> argument is null.</exception>
25
- /// <exception cref="ArgumentException">Thrown when <paramref name="coordinates"/> argument is empty enumeration.</exception>
22
+ /// <param name="coordinates">The coordinates to encode.</param>
23
+ /// <returns>A <see cref=" Polyline"/> representing the encoded coordinates .</returns>
24
+ /// <exception cref="ArgumentNullException">Thrown when the <paramref name="coordinates"/> argument is null.</exception>
25
+ /// <exception cref="ArgumentException">Thrown when the <paramref name="coordinates"/> argument is an empty enumeration.</exception>
26
26
public Polyline Encode ( IEnumerable < Coordinate > coordinates ) {
27
27
if ( coordinates is null ) {
28
28
throw new ArgumentNullException ( nameof ( coordinates ) ) ;
You can’t perform that action at this time.
0 commit comments