Search Results for

    Show / Hide Table of Contents

    Class GeoCoordinate

    Represents a Latitude/Longitude and optional Z value as a 2 or 3 dimensional point that gets serialized as new [] { lon, lat, [z] }

    Inheritance
    object
    GeoLocation
    GeoCoordinate
    Implements
    IEquatable<GeoLocation>
    IFormattable
    Inherited Members
    GeoLocation.Latitude
    GeoLocation.Longitude
    GeoLocation.Equals(GeoLocation)
    GeoLocation.ToString(string, IFormatProvider)
    GeoLocation.IsValidLatitude(double)
    GeoLocation.IsValidLongitude(double)
    GeoLocation.TryCreate(double, double)
    GeoLocation.ToString()
    GeoLocation.Equals(object)
    GeoLocation.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class GeoCoordinate : GeoLocation, IEquatable<GeoLocation>, IFormattable

    Constructors

    | Edit this page View Source

    GeoCoordinate(double, double)

    Creates a new instance of GeoCoordinate

    Declaration
    public GeoCoordinate(double latitude, double longitude)
    Parameters
    Type Name Description
    double latitude
    double longitude
    | Edit this page View Source

    GeoCoordinate(double, double, double)

    Creates a new instance of GeoCoordinate

    Declaration
    public GeoCoordinate(double latitude, double longitude, double z)
    Parameters
    Type Name Description
    double latitude
    double longitude
    double z

    Properties

    | Edit this page View Source

    Z

    Gets or sets the Z value

    Declaration
    public double? Z { get; set; }
    Property Value
    Type Description
    double?

    Operators

    | Edit this page View Source

    implicit operator GeoCoordinate(double[])

    Creates a new instance of GeoCoordinate from an array of 2 or 3 doubles, in the order Latitude, Longitude, and optional Z value. Returns null if coordinates are null If the array does not contain 2 or 3 values

    Declaration
    public static implicit operator GeoCoordinate(double[] coordinates)
    Parameters
    Type Name Description
    double[] coordinates
    Returns
    Type Description
    GeoCoordinate

    Implements

    IEquatable<T>
    IFormattable

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • GeoCoordinate(double, double)
      • GeoCoordinate(double, double, double)
    • Properties
      • Z
    • Operators
      • implicit operator GeoCoordinate(double[])
    • Implements
    • Extension Methods
    Back to top Generated by DocFX