Class CoordinateExtensions
Inheritance
CoordinateExtensions
Assembly: Mapsui.Nts.dll
Syntax
public static class CoordinateExtensions
Methods
|
Edit this page
View Source
SetXY(Coordinate?, MPoint?)
Declaration
public static void SetXY(this Coordinate? target, MPoint? source)
Parameters
| Type |
Name |
Description |
| Coordinate |
target |
|
| MPoint |
source |
|
|
Edit this page
View Source
SetXY(Coordinate?, Coordinate?)
Declaration
public static void SetXY(this Coordinate? target, Coordinate? source)
Parameters
| Type |
Name |
Description |
| Coordinate |
target |
|
| Coordinate |
source |
|
|
Edit this page
View Source
ToLineString(IEnumerable<Coordinate>)
Declaration
public static LineString ToLineString(this IEnumerable<Coordinate> coordinates)
Parameters
| Type |
Name |
Description |
| IEnumerable<Coordinate> |
coordinates |
|
Returns
| Type |
Description |
| LineString |
|
|
Edit this page
View Source
ToLinearRing(IEnumerable<Coordinate>)
Declaration
public static LinearRing ToLinearRing(this IEnumerable<Coordinate> coordinates)
Parameters
| Type |
Name |
Description |
| IEnumerable<Coordinate> |
coordinates |
|
Returns
| Type |
Description |
| LinearRing |
|
|
Edit this page
View Source
ToMPoint(Coordinate)
Declaration
public static MPoint ToMPoint(this Coordinate coordinate)
Parameters
| Type |
Name |
Description |
| Coordinate |
coordinate |
|
Returns
|
Edit this page
View Source
ToPoint(Coordinate)
Declaration
public static Point ToPoint(this Coordinate coordinate)
Parameters
| Type |
Name |
Description |
| Coordinate |
coordinate |
|
Returns
|
Edit this page
View Source
ToPolygon(IEnumerable<Coordinate>, IEnumerable<IEnumerable<Coordinate>>?)
Declaration
public static Polygon ToPolygon(this IEnumerable<Coordinate> coordinates, IEnumerable<IEnumerable<Coordinate>>? holes = null)
Parameters
Returns