Search Results for

    Show / Hide Table of Contents

    Class CoordinateExtensions

    Inheritance
    object
    CoordinateExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Nts.Extensions
    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
    Type Description
    MPoint
    | Edit this page View Source

    ToPoint(Coordinate)

    Declaration
    public static Point ToPoint(this Coordinate coordinate)
    Parameters
    Type Name Description
    Coordinate coordinate
    Returns
    Type Description
    Point
    | 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
    Type Name Description
    IEnumerable<Coordinate> coordinates
    IEnumerable<IEnumerable<Coordinate>> holes
    Returns
    Type Description
    Polygon
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX