The IGeometryFactory interface is used to create different types of geometries in C#. One of its methods is the CreateMultiPoint, which is used to create a MultiPoint geometry from a set of points.
Here is an example code that creates a MultiPoint geometry using the CreateMultiPoint method:
``` csharp
using NetTopologySuite.Geometries;
IGeometryFactory factory = new GeometryFactory();
Point point1 = factory.CreatePoint(new Coordinate(0, 0));
Point point2 = factory.CreatePoint(new Coordinate(1, 1));
Point point3 = factory.CreatePoint(new Coordinate(2, 2));
MultiPoint multiPoint = factory.CreateMultiPoint(new[] { point1, point2, point3 });
```
In this example, three Point geometries are created using the CreatePoint method, and then a MultiPoint geometry is created using the CreateMultiPoint method with an array containing the three Point geometries.
This code example uses the NetTopologySuite package, which is a C# port of the Java Topology Suite library. The NetTopologySuite package provides a wide range of geometry classes and methods for working with geometric data.
C# (CSharp) IGeometryFactory.CreateMultiPoint - 47 examples found. These are the top rated real world C# (CSharp) examples of IGeometryFactory.CreateMultiPoint extracted from open source projects. You can rate examples to help us improve the quality of examples.