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