Method Write
- Namespace
- GeometryHelper.Export
- Assembly
- GeometryHelper.dll
Write(GeoPoint2)
Writes a point: POINT (x y).
public static string Write(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
Write(GeoPoint3)
Writes a point in space: POINT Z (x y z).
public static string Write(GeoPoint3 point)
Parameters
pointGeoPoint3
Returns
Write(GeoLine2)
Writes a segment: LINESTRING (...).
public static string Write(GeoLine2 line)
Parameters
lineGeoLine2
Returns
Write(GeoLine3)
Writes a segment in space: LINESTRING Z (...).
public static string Write(GeoLine3 line)
Parameters
lineGeoLine3
Returns
Write(GeoPolyline2)
Writes a chain: LINESTRING (...).
public static string Write(GeoPolyline2 polyline)
Parameters
polylineGeoPolyline2
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
Write(GeoPolyline3)
Writes a chain in space: LINESTRING Z (...).
public static string Write(GeoPolyline3 polyline)
Parameters
polylineGeoPolyline3
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
Write(GeoPolygon2)
Writes a polygon: POLYGON ((...)).
public static string Write(GeoPolygon2 polygon)
Parameters
polygonGeoPolygon2
Returns
Exceptions
- ArgumentNullException
Thrown when the polygon is null.
Write(GeoPolygon3)
Writes a polygon in space: POLYGON Z ((...)).
public static string Write(GeoPolygon3 polygon)
Parameters
polygonGeoPolygon3
Returns
Exceptions
- ArgumentNullException
Thrown when the polygon is null.
Write(GeoFace2)
Writes a face with its holes: POLYGON ((...), (...)).
public static string Write(GeoFace2 face)
Parameters
faceGeoFace2
Returns
Exceptions
- ArgumentNullException
Thrown when the face is null.
Write(IEnumerable<GeoFace2>)
Writes several faces: MULTIPOLYGON (((...)), ((...))), such as what a boolean gives back.
public static string Write(IEnumerable<GeoFace2> faces)
Parameters
facesIEnumerable<GeoFace2>
Returns
Exceptions
- ArgumentNullException
Thrown when the faces or one of them are null.