Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Commit 8635a94

Browse files
committed
Add specifically named create for MultiPoint from coords
JTS' commit e92970e3c0267d36b68d03db78a4dc05eeeefcb2
1 parent 62f11aa commit 8635a94

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/GeoAPI/Geometries/IGeometryFactory.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using System.Collections.Generic;
23

34
namespace GeoAPI.Geometries
@@ -181,8 +182,17 @@ public interface IGeometryFactory
181182
/// </summary>
182183
/// <param name="coordinates">An array (without null elements), or an empty array, or <c>null</c></param>
183184
/// <returns>A <see cref="IMultiPoint"/> object</returns>
185+
[Obsolete("Use CreateMultiPointFromCoords")]
184186
IMultiPoint CreateMultiPoint(Coordinate[] coordinates);
185187

188+
/// <summary>
189+
/// Creates a <see cref="IMultiPoint"/> using the given Coordinates.
190+
/// A null or empty array will create an empty MultiPoint.
191+
/// </summary>
192+
/// <param name="coordinates">An array (without null elements), or an empty array, or <c>null</c></param>
193+
/// <returns>A <see cref="IMultiPoint"/> object</returns>
194+
IMultiPoint CreateMultiPointFromCoords(Coordinate[] coordinates);
195+
186196
/// <summary>
187197
/// Creates a <see cref="IMultiPoint"/> using the given Points.
188198
/// A null or empty array will create an empty MultiPoint.

0 commit comments

Comments
 (0)