Esempio n. 1
0
 internal static Geometries.MultiPoint ToSharpMapMultiPoint(NTSMultiPoint geom)
 {
     Geometries.MultiPoint collection = new Geometries.MultiPoint();
     foreach (GisSharpBlog.NetTopologySuite.Geometries.Point point in geom.Geometries)
     {
         collection.Points.Add(ToSharpMapPoint(point));
     }
     return(collection);
 }
Esempio n. 2
0
 internal static Geometries.MultiPoint ToSharpMapMultiPoint(NTSMultiPoint geom)
 {
     Geometries.MultiPoint collection = new Geometries.MultiPoint();
     foreach (NTSPoint point in geom.Coordinates)
     {
         collection.Points.Add(ToSharpMapPoint(point));
     }
     return(collection);
 }
 private static void SharpMapMultiPointToSqlGeometry(SqlGeometryBuilder geomBuilder, SMMultiPoint multiPoint)
 {
     geomBuilder.BeginGeometry(OpenGisGeometryType.MultiPoint);
     for (int i = 0; i < multiPoint.NumPoints; i++)
     {
         SharpMapPointToSqlGeometry(geomBuilder, multiPoint[i] as SMPoint);
     }
     geomBuilder.EndGeometry();
 }
 private static void SharpMapMultiPointToSqlGeometry(SqlGeometryBuilder geomBuilder, SMMultiPoint multiPoint)
 {
     geomBuilder.BeginGeometry(OpenGisGeometryType.MultiPoint);
     for(int i = 0; i < multiPoint.NumPoints; i++)
         SharpMapPointToSqlGeometry(geomBuilder, multiPoint[i] as SMPoint);
     geomBuilder.EndGeometry();
 }
Esempio n. 5
0
 internal static Geometries.MultiPoint ToSharpMapMultiPoint(NTSMultiPoint geom)
 {
     Geometries.MultiPoint collection = new Geometries.MultiPoint();
     foreach (GisSharpBlog.NetTopologySuite.Geometries.Point point in geom.Geometries)
         collection.Points.Add(ToSharpMapPoint(point));
     return collection;
 }
 internal static Geometries.MultiPoint ToSharpMapMultiPoint(NTSMultiPoint geom)
 {
     Geometries.MultiPoint collection = new Geometries.MultiPoint();
     foreach (NTSPoint point in geom.Coordinates)
         collection.Points.Add(ToSharpMapPoint(point));
     return collection;
 }