Struct HorizontalCoordinate
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 HorizontalCoordinate : IEquatable<HorizontalCoordinate>, IComparable<HorizontalCoordinate>
Constructors
View SourceHorizontalCoordinate(Double)
public HorizontalCoordinate(double value)
HorizontalCoordinate(Double, Double)
public HorizontalCoordinate(double azimuth, double inclination)
HorizontalCoordinate((Double azimuth, Double inclination))
public HorizontalCoordinate((double azimuth, double inclination) tuple)
Fields
View SourceAzimuth
[DataMember]
public readonly double Azimuth
Inclination
[DataMember]
public readonly double Inclination
MaxValue
public static HorizontalCoordinate MaxValue
MinValue
public static HorizontalCoordinate MinValue
NumComponents
public const int NumComponents = 2
One
public static HorizontalCoordinate One
UnitAzimuth
public static HorizontalCoordinate UnitAzimuth
UnitInclination
public static HorizontalCoordinate UnitInclination
Zero
public static HorizontalCoordinate Zero
Methods
View SourceAlmostEquals(HorizontalCoordinate, Single)
public readonly bool AlmostEquals(HorizontalCoordinate x, float tolerance = 1E-07F)
AlmostZero(Single)
public readonly bool AlmostZero(float tolerance = 1E-07F)
AnyComponentNegative()
public readonly bool AnyComponentNegative()
CompareTo(HorizontalCoordinate)
public readonly int CompareTo(HorizontalCoordinate x)
Create(Double, Double)
public static HorizontalCoordinate Create(double azimuth, double inclination)
Create((Double azimuth, Double inclination))
public static HorizontalCoordinate Create((double azimuth, double inclination) tuple)
Deconstruct(out Double, out Double)
public readonly void Deconstruct(out double azimuth, out double inclination)
Dot(HorizontalCoordinate)
public readonly double Dot(HorizontalCoordinate value)
Dot(HorizontalCoordinate, HorizontalCoordinate)
public static double Dot(HorizontalCoordinate value1, HorizontalCoordinate value2)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(HorizontalCoordinate)
public readonly bool Equals(HorizontalCoordinate 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()
SetAzimuth(Double)
public readonly HorizontalCoordinate SetAzimuth(double x)
SetInclination(Double)
public readonly HorizontalCoordinate SetInclination(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, HorizontalCoordinate)
public static HorizontalCoordinate operator +(double value1, HorizontalCoordinate value2)
Addition(HorizontalCoordinate, Double)
public static HorizontalCoordinate operator +(HorizontalCoordinate value1, double value2)
Addition(HorizontalCoordinate, HorizontalCoordinate)
public static HorizontalCoordinate operator +(HorizontalCoordinate value1, HorizontalCoordinate value2)
Division(Double, HorizontalCoordinate)
public static HorizontalCoordinate operator /(double value1, HorizontalCoordinate value2)
Division(HorizontalCoordinate, Double)
public static HorizontalCoordinate operator /(HorizontalCoordinate value1, double value2)
Division(HorizontalCoordinate, HorizontalCoordinate)
public static HorizontalCoordinate operator /(HorizontalCoordinate value1, HorizontalCoordinate value2)
Equality(HorizontalCoordinate, HorizontalCoordinate)
public static bool operator ==(HorizontalCoordinate x0, HorizontalCoordinate x1)
GreaterThan(HorizontalCoordinate, HorizontalCoordinate)
public static bool operator>(HorizontalCoordinate x0, HorizontalCoordinate x1)
GreaterThanOrEqual(HorizontalCoordinate, HorizontalCoordinate)
public static bool operator >=(HorizontalCoordinate x0, HorizontalCoordinate x1)
Implicit((Double azimuth, Double inclination) to HorizontalCoordinate)
public static implicit operator HorizontalCoordinate((double azimuth, double inclination) tuple)
Implicit(HorizontalCoordinate to (Double azimuth, Double inclination))
public static implicit operator (double azimuth, double inclination)(HorizontalCoordinate self)
Inequality(HorizontalCoordinate, HorizontalCoordinate)
public static bool operator !=(HorizontalCoordinate x0, HorizontalCoordinate x1)
LessThan(HorizontalCoordinate, HorizontalCoordinate)
public static bool operator <(HorizontalCoordinate x0, HorizontalCoordinate x1)
LessThanOrEqual(HorizontalCoordinate, HorizontalCoordinate)
public static bool operator <=(HorizontalCoordinate x0, HorizontalCoordinate x1)
Multiply(Double, HorizontalCoordinate)
public static HorizontalCoordinate operator *(double value1, HorizontalCoordinate value2)
Multiply(HorizontalCoordinate, Double)
public static HorizontalCoordinate operator *(HorizontalCoordinate value1, double value2)
Multiply(HorizontalCoordinate, HorizontalCoordinate)
public static HorizontalCoordinate operator *(HorizontalCoordinate value1, HorizontalCoordinate value2)
Subtraction(Double, HorizontalCoordinate)
public static HorizontalCoordinate operator -(double value1, HorizontalCoordinate value2)
Subtraction(HorizontalCoordinate, Double)
public static HorizontalCoordinate operator -(HorizontalCoordinate value1, double value2)
Subtraction(HorizontalCoordinate, HorizontalCoordinate)
public static HorizontalCoordinate operator -(HorizontalCoordinate value1, HorizontalCoordinate value2)
UnaryNegation(HorizontalCoordinate)
public static HorizontalCoordinate operator -(HorizontalCoordinate value)
Implements
System.IEquatable<T>
System.IComparable<T>