Struct Angle
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
public struct Angle
- Inherited Members
- Extension Methods
Properties
Degrees
public double Degrees { readonly get; set; }
Property Value
Inverted
public readonly Angle Inverted { get; }
Property Value
Normalized
public readonly Angle Normalized { get; }
Property Value
Radians
public double Radians { readonly get; set; }
Property Value
Methods
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
FromDegrees(double)
public static Angle FromDegrees(double degrees)
Parameters
degreesdouble
Returns
FromFraction(double, Angle, bool)
public static Angle FromFraction(double fraction, Angle start, bool clockwise = false)
Parameters
Returns
FromFraction(double, bool)
public static Angle FromFraction(double fraction, bool clockwise = false)
Parameters
Returns
FromRadians(double)
public static Angle FromRadians(double radians)
Parameters
radiansdouble
Returns
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(Angle, Angle)
public static Angle operator +(Angle a, Angle b)
Parameters
Returns
operator /(Angle, double)
public static Angle operator /(Angle a, double b)
Parameters
Returns
operator ==(Angle, Angle)
public static bool operator ==(Angle a, Angle b)
Parameters
Returns
operator !=(Angle, Angle)
public static bool operator !=(Angle a, Angle b)
Parameters
Returns
operator %(Angle, double)
public static Angle operator %(Angle a, double b)
Parameters
Returns
operator *(Angle, double)
public static Angle operator *(Angle a, double b)
Parameters
Returns
operator *(double, Angle)
public static Angle operator *(double a, Angle b)
Parameters
Returns
operator -(Angle, Angle)
public static Angle operator -(Angle a, Angle b)
Parameters
Returns
operator -(Angle)
public static Angle operator -(Angle a)
Parameters
aAngle
Returns
operator +(Angle)
public static Angle operator +(Angle a)
Parameters
aAngle