Angle 構造体
角度を表す値型。内部的にはラジアンで保持します。
名前空間: FloatSoda.Abstractions.Geometries
アセンブリ: FloatSoda.Abstractions.dll
public readonly record struct Angle : IEquatable<Angle>実装するインターフェイス
Section titled “実装するインターフェイス”継承したメンバー
Section titled “継承したメンバー”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
コンストラクター
Section titled “コンストラクター”Angle(float)
Section titled “Angle(float)”角度を表す値型。内部的にはラジアンで保持します。
public Angle(float Radians)パラメーター
Section titled “パラメーター”Radians float
Degrees
Section titled “Degrees”度数へ変換した値です。
public float Degrees { get; }プロパティの値
Section titled “プロパティの値”Radians
Section titled “Radians”public float Radians { get; init; }プロパティの値
Section titled “プロパティの値”角度ゼロを表します。
public static Angle Zero { get; }プロパティの値
Section titled “プロパティの値”FromDegrees(float)
Section titled “FromDegrees(float)”度数から生成します。
public static Angle FromDegrees(float degrees)パラメーター
Section titled “パラメーター”degrees float
FromRadians(float)
Section titled “FromRadians(float)”ラジアンから生成します。
public static Angle FromRadians(float radians)パラメーター
Section titled “パラメーター”radians float