Search Results for

    Show / Hide Table of Contents

    Struct Coordinate2D

    A structure representing a 2D double precision floating point coordinate;

    Implements
    IEquatable<Coordinate2D>
    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Npgsql.LegacyPostgis
    Assembly: Npgsql.LegacyPostgis.dll
    Syntax
    public struct Coordinate2D : IEquatable<Coordinate2D>

    Constructors

    | Improve this Doc

    Coordinate2D(Double, Double)

    Generates a new BBpoint with the specified coordinates.

    Declaration
    public Coordinate2D(double x, double y)
    Parameters
    Type Name Description
    Double x

    X coordinate

    Double y

    Y coordinate

    Properties

    | Improve this Doc

    X

    X coordinate.

    Declaration
    public readonly double X { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc

    Y

    Y coordinate.

    Declaration
    public readonly double Y { get; }
    Property Value
    Type Description
    Double

    Methods

    | Improve this Doc

    Equals(Coordinate2D)

    Declaration
    public bool Equals(Coordinate2D c)
    Parameters
    Type Name Description
    Coordinate2D c
    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
    ValueType.Equals(Object)
    | Improve this Doc

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Operators

    | Improve this Doc

    Equality(Coordinate2D, Coordinate2D)

    Declaration
    public static bool operator ==(Coordinate2D left, Coordinate2D right)
    Parameters
    Type Name Description
    Coordinate2D left
    Coordinate2D right
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Inequality(Coordinate2D, Coordinate2D)

    Declaration
    public static bool operator !=(Coordinate2D left, Coordinate2D right)
    Parameters
    Type Name Description
    Coordinate2D left
    Coordinate2D right
    Returns
    Type Description
    Boolean

    Implements

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