Search Results for

    Show / Hide Table of Contents

    Class PostgisPolygon

    Represents an Postgis 2D Polygon.

    Inheritance
    Object
    PostgisGeometry
    PostgisPolygon
    Implements
    IEquatable<PostgisPolygon>
    IEnumerable<IEnumerable<Coordinate2D>>
    IEnumerable
    Inherited Members
    PostgisGeometry.SRID
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql.LegacyPostgis
    Assembly: Npgsql.LegacyPostgis.dll
    Syntax
    public class PostgisPolygon : PostgisGeometry, IEquatable<PostgisPolygon>, IEnumerable<IEnumerable<Coordinate2D>>, IEnumerable

    Constructors

    | Improve this Doc

    PostgisPolygon(Coordinate2D[][])

    Declaration
    public PostgisPolygon(Coordinate2D[][] rings)
    Parameters
    Type Name Description
    Coordinate2D[][] rings
    | Improve this Doc

    PostgisPolygon(IEnumerable<IEnumerable<Coordinate2D>>)

    Declaration
    public PostgisPolygon(IEnumerable<IEnumerable<Coordinate2D>> rings)
    Parameters
    Type Name Description
    IEnumerable<IEnumerable<Coordinate2D>> rings

    Properties

    | Improve this Doc

    Item[Int32]

    Declaration
    public Coordinate2D[] this[int ringIndex] { get; }
    Parameters
    Type Name Description
    Int32 ringIndex
    Property Value
    Type Description
    Coordinate2D[]
    | Improve this Doc

    Item[Int32, Int32]

    Declaration
    public Coordinate2D this[int ringIndex, int pointIndex] { get; }
    Parameters
    Type Name Description
    Int32 ringIndex
    Int32 pointIndex
    Property Value
    Type Description
    Coordinate2D
    | Improve this Doc

    RingCount

    Declaration
    public int RingCount { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc

    TotalPointCount

    Declaration
    public int TotalPointCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    | Improve this Doc

    Equals(PostgisPolygon)

    Declaration
    public bool Equals(PostgisPolygon other)
    Parameters
    Type Name Description
    PostgisPolygon other
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)
    | Improve this Doc

    GetEnumerator()

    Declaration
    public IEnumerator<IEnumerable<Coordinate2D>> GetEnumerator()
    Returns
    Type Description
    IEnumerator<IEnumerable<Coordinate2D>>
    | Improve this Doc

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()
    | Improve this Doc

    GetLenHelper()

    Declaration
    protected override int GetLenHelper()
    Returns
    Type Description
    Int32
    Overrides
    PostgisGeometry.GetLenHelper()

    Operators

    | Improve this Doc

    Equality(PostgisPolygon, PostgisPolygon)

    Declaration
    public static bool operator ==(PostgisPolygon x, PostgisPolygon y)
    Parameters
    Type Name Description
    PostgisPolygon x
    PostgisPolygon y
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Inequality(PostgisPolygon, PostgisPolygon)

    Declaration
    public static bool operator !=(PostgisPolygon x, PostgisPolygon y)
    Parameters
    Type Name Description
    PostgisPolygon x
    PostgisPolygon y
    Returns
    Type Description
    Boolean

    Explicit Interface Implementations

    | Improve this Doc

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    IEnumerator

    Implements

    System.IEquatable<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team