Struct PolarCoordinate
Implements
System.IEquatable<PolarCoordinate>
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 PolarCoordinate : IEquatable<PolarCoordinate>
Constructors
View SourcePolarCoordinate(Double, Double)
public PolarCoordinate(double radius, double azimuth)
PolarCoordinate((Double radius, Double azimuth))
public PolarCoordinate((double radius, double azimuth) tuple)
Fields
View SourceAzimuth
[DataMember]
public readonly double Azimuth
MaxValue
public static PolarCoordinate MaxValue
MinValue
public static PolarCoordinate MinValue
Radius
[DataMember]
public readonly double Radius
Zero
public static PolarCoordinate Zero
Methods
View SourceAlmostEquals(PolarCoordinate, Single)
public readonly bool AlmostEquals(PolarCoordinate x, float tolerance = 1E-07F)
Create(Double, Double)
public static PolarCoordinate Create(double radius, double azimuth)
Create((Double radius, Double azimuth))
public static PolarCoordinate Create((double radius, double azimuth) tuple)
Deconstruct(out Double, out Double)
public readonly void Deconstruct(out double radius, out double azimuth)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(PolarCoordinate)
public readonly bool Equals(PolarCoordinate x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
SetAzimuth(Double)
public readonly PolarCoordinate SetAzimuth(double x)
SetRadius(Double)
public readonly PolarCoordinate SetRadius(double x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceEquality(PolarCoordinate, PolarCoordinate)
public static bool operator ==(PolarCoordinate x0, PolarCoordinate x1)
Implicit((Double radius, Double azimuth) to PolarCoordinate)
public static implicit operator PolarCoordinate((double radius, double azimuth) tuple)
Implicit(PolarCoordinate to (Double radius, Double azimuth))
public static implicit operator (double radius, double azimuth)(PolarCoordinate self)
Inequality(PolarCoordinate, PolarCoordinate)
public static bool operator !=(PolarCoordinate x0, PolarCoordinate x1)
Implements
System.IEquatable<T>