Table of Contents

Struct Angle

Namespace
ScottPlot
Assembly
ScottPlot.dll
public struct Angle
Inherited Members
Extension Methods

Properties

Degrees

public double Degrees { readonly get; set; }

Property Value

double

Inverted

public readonly Angle Inverted { get; }

Property Value

Angle

Normalized

public readonly Angle Normalized { get; }

Property Value

Angle

Radians

public double Radians { readonly get; set; }

Property Value

double

Methods

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

FromDegrees(double)

public static Angle FromDegrees(double degrees)

Parameters

degrees double

Returns

Angle

FromFraction(double, Angle, bool)

public static Angle FromFraction(double fraction, Angle start, bool clockwise = false)

Parameters

fraction double
start Angle
clockwise bool

Returns

Angle

FromFraction(double, bool)

public static Angle FromFraction(double fraction, bool clockwise = false)

Parameters

fraction double
clockwise bool

Returns

Angle

FromRadians(double)

public static Angle FromRadians(double radians)

Parameters

radians double

Returns

Angle

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

a Angle
b Angle

Returns

Angle

operator /(Angle, double)

public static Angle operator /(Angle a, double b)

Parameters

a Angle
b double

Returns

Angle

operator ==(Angle, Angle)

public static bool operator ==(Angle a, Angle b)

Parameters

a Angle
b Angle

Returns

bool

operator !=(Angle, Angle)

public static bool operator !=(Angle a, Angle b)

Parameters

a Angle
b Angle

Returns

bool

operator %(Angle, double)

public static Angle operator %(Angle a, double b)

Parameters

a Angle
b double

Returns

Angle

operator *(Angle, double)

public static Angle operator *(Angle a, double b)

Parameters

a Angle
b double

Returns

Angle

operator *(double, Angle)

public static Angle operator *(double a, Angle b)

Parameters

a double
b Angle

Returns

Angle

operator -(Angle, Angle)

public static Angle operator -(Angle a, Angle b)

Parameters

a Angle
b Angle

Returns

Angle

operator -(Angle)

public static Angle operator -(Angle a)

Parameters

a Angle

Returns

Angle

operator +(Angle)

public static Angle operator +(Angle a)

Parameters

a Angle

Returns

Angle