Struct GeoCoordinate
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Vim.Math3d
Assembly: Vim.Math3D.dll
[DataContract]
public readonly struct GeoCoordinate : IEquatable<GeoCoordinate>, IComparable<GeoCoordinate>
Constructors
View SourceGeoCoordinate(Double)
public GeoCoordinate(double value)
GeoCoordinate(Double, Double)
public GeoCoordinate(double latitude, double longitude)
GeoCoordinate((Double latitude, Double longitude))
public GeoCoordinate((double latitude, double longitude) tuple)
Fields
View SourceLatitude
[DataMember]
public readonly double Latitude
Longitude
[DataMember]
public readonly double Longitude
MaxValue
public static GeoCoordinate MaxValue
MinValue
public static GeoCoordinate MinValue
NumComponents
public const int NumComponents = 2
One
public static GeoCoordinate One
UnitLatitude
public static GeoCoordinate UnitLatitude
UnitLongitude
public static GeoCoordinate UnitLongitude
Zero
public static GeoCoordinate Zero
Methods
View SourceAlmostEquals(GeoCoordinate, Single)
public readonly bool AlmostEquals(GeoCoordinate x, float tolerance = 1E-07F)
AlmostZero(Single)
public readonly bool AlmostZero(float tolerance = 1E-07F)
AnyComponentNegative()
public readonly bool AnyComponentNegative()
CompareTo(GeoCoordinate)
public readonly int CompareTo(GeoCoordinate x)
Create(Double, Double)
public static GeoCoordinate Create(double latitude, double longitude)
Create((Double latitude, Double longitude))
public static GeoCoordinate Create((double latitude, double longitude) tuple)
Deconstruct(out Double, out Double)
public readonly void Deconstruct(out double latitude, out double longitude)
Dot(GeoCoordinate)
public readonly double Dot(GeoCoordinate value)
Dot(GeoCoordinate, GeoCoordinate)
public static double Dot(GeoCoordinate value1, GeoCoordinate value2)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(GeoCoordinate)
public readonly bool Equals(GeoCoordinate x)
GetComponent(Int32)
public readonly double GetComponent(int n)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
IsInfinity()
public readonly bool IsInfinity()
IsNaN()
public readonly bool IsNaN()
Magnitude()
public readonly double Magnitude()
MagnitudeSquared()
public readonly double MagnitudeSquared()
MaxComponent()
public readonly double MaxComponent()
MinComponent()
public readonly double MinComponent()
ProductComponents()
public readonly double ProductComponents()
SetLatitude(Double)
public readonly GeoCoordinate SetLatitude(double x)
SetLongitude(Double)
public readonly GeoCoordinate SetLongitude(double x)
SumComponents()
public readonly double SumComponents()
SumSqrComponents()
public readonly double SumSqrComponents()
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceAddition(Double, GeoCoordinate)
public static GeoCoordinate operator +(double value1, GeoCoordinate value2)
Addition(GeoCoordinate, Double)
public static GeoCoordinate operator +(GeoCoordinate value1, double value2)
Addition(GeoCoordinate, GeoCoordinate)
public static GeoCoordinate operator +(GeoCoordinate value1, GeoCoordinate value2)
Division(Double, GeoCoordinate)
public static GeoCoordinate operator /(double value1, GeoCoordinate value2)
Division(GeoCoordinate, Double)
public static GeoCoordinate operator /(GeoCoordinate value1, double value2)
Division(GeoCoordinate, GeoCoordinate)
public static GeoCoordinate operator /(GeoCoordinate value1, GeoCoordinate value2)
Equality(GeoCoordinate, GeoCoordinate)
public static bool operator ==(GeoCoordinate x0, GeoCoordinate x1)
GreaterThan(GeoCoordinate, GeoCoordinate)
public static bool operator>(GeoCoordinate x0, GeoCoordinate x1)
GreaterThanOrEqual(GeoCoordinate, GeoCoordinate)
public static bool operator >=(GeoCoordinate x0, GeoCoordinate x1)
Implicit((Double latitude, Double longitude) to GeoCoordinate)
public static implicit operator GeoCoordinate((double latitude, double longitude) tuple)
Implicit(GeoCoordinate to (Double latitude, Double longitude))
public static implicit operator (double latitude, double longitude)(GeoCoordinate self)
Inequality(GeoCoordinate, GeoCoordinate)
public static bool operator !=(GeoCoordinate x0, GeoCoordinate x1)
LessThan(GeoCoordinate, GeoCoordinate)
public static bool operator <(GeoCoordinate x0, GeoCoordinate x1)
LessThanOrEqual(GeoCoordinate, GeoCoordinate)
public static bool operator <=(GeoCoordinate x0, GeoCoordinate x1)
Multiply(Double, GeoCoordinate)
public static GeoCoordinate operator *(double value1, GeoCoordinate value2)
Multiply(GeoCoordinate, Double)
public static GeoCoordinate operator *(GeoCoordinate value1, double value2)
Multiply(GeoCoordinate, GeoCoordinate)
public static GeoCoordinate operator *(GeoCoordinate value1, GeoCoordinate value2)
Subtraction(Double, GeoCoordinate)
public static GeoCoordinate operator -(double value1, GeoCoordinate value2)
Subtraction(GeoCoordinate, Double)
public static GeoCoordinate operator -(GeoCoordinate value1, double value2)
Subtraction(GeoCoordinate, GeoCoordinate)
public static GeoCoordinate operator -(GeoCoordinate value1, GeoCoordinate value2)
UnaryNegation(GeoCoordinate)
public static GeoCoordinate operator -(GeoCoordinate value)
Implements
System.IEquatable<T>
System.IComparable<T>