Show / Hide Table of Contents

Struct GeoCoordinates

GPS súradnice miesta podľa súradnicového systému WGS 84, na ktorom ORP vyhotovuje doklady.ORP použije tento typ, ak vie získať svoje GPS súradnice v rámci súradnicového systému WGS 84.

Implements
IEquatableGeoCoordinates
ICloneable
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public struct GeoCoordinates : IEquatable<GeoCoordinates>, ICloneable

Constructors

GeoCoordinates(GeoCoordinates)

Declaration
public GeoCoordinates(GeoCoordinates coords)
Parameters
Type Name Description
GeoCoordinates coords

GeoCoordinates(decimal, decimal)

Declaration
public GeoCoordinates(decimal longitude, decimal latitude)
Parameters
Type Name Description
decimal longitude
decimal latitude

Fields

MaxLatitudeValue

Declaration
public const readonly decimal MaxLatitudeValue = 90
Field Value
Type Description
decimal

MaxLongitudeValue

Declaration
public const readonly decimal MaxLongitudeValue = 180
Field Value
Type Description
decimal

MaxScale

Declaration
public const byte MaxScale = 10
Field Value
Type Description
byte

MinLatitudeValue

Declaration
public const readonly decimal MinLatitudeValue = -90
Field Value
Type Description
decimal

MinLongitudeValue

Declaration
public const readonly decimal MinLongitudeValue = -180
Field Value
Type Description
decimal

Unknown

Declaration
public static readonly GeoCoordinates Unknown
Field Value
Type Description
GeoCoordinates

Properties

Latitude

Zemepisná šírka (Y)

Declaration
public readonly decimal Latitude { get; }
Property Value
Type Description
decimal

Longitude

Zemepisná dĺžka (X)

Declaration
public readonly decimal Longitude { get; }
Property Value
Type Description
decimal

Methods

Equals(GeoCoordinates)

Declaration
public bool Equals(GeoCoordinates other)
Parameters
Type Name Description
GeoCoordinates other
Returns
Type Description
bool

Equals(GeoCoordinates, GeoCoordinates)

Declaration
public static bool Equals(GeoCoordinates x, GeoCoordinates y)
Parameters
Type Name Description
GeoCoordinates x
GeoCoordinates y
Returns
Type Description
bool

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)

GetHashCode()

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

IsValidLatitude(decimal)

Declaration
public static bool IsValidLatitude(decimal value)
Parameters
Type Name Description
decimal value
Returns
Type Description
bool

IsValidLongitude(decimal)

Declaration
public static bool IsValidLongitude(decimal value)
Parameters
Type Name Description
decimal value
Returns
Type Description
bool

ValidateLatitude(decimal)

Declaration
public static void ValidateLatitude(decimal value)
Parameters
Type Name Description
decimal value

ValidateLongitude(decimal)

Declaration
public static void ValidateLongitude(decimal value)
Parameters
Type Name Description
decimal value

Operators

operator ==(GeoCoordinates, GeoCoordinates)

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

operator !=(GeoCoordinates, GeoCoordinates)

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

Implements

IEquatable<T>
ICloneable
In This Article
Na začiatok stránky Nine Digit, s.r.o. ©