Inheritance
System.Object
Radius
public class Radius : IEquatable<Radius>
Fields
Declaration
Field Value
Type |
Description |
System.Single |
|
Declaration
Field Value
Type |
Description |
System.Single |
|
Declaration
public static readonly Radius zero
Field Value
Methods
Declaration
public static Radius circular(float radius)
Parameters
Type |
Name |
Description |
System.Single |
radius |
|
Returns
Declaration
public static Radius elliptical(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(Radius other)
Parameters
Type |
Name |
Description |
Radius |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public static Radius lerp(Radius a, Radius b, float t)
Parameters
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static Radius operator +(Radius a, float b)
Parameters
Type |
Name |
Description |
Radius |
a |
|
System.Single |
b |
|
Returns
Declaration
public static Radius operator +(Radius a, Radius b)
Parameters
Returns
Declaration
public static Radius operator /(Radius a, float b)
Parameters
Type |
Name |
Description |
Radius |
a |
|
System.Single |
b |
|
Returns
Declaration
public static Radius operator /(Radius a, Radius b)
Parameters
Returns
Declaration
public static bool operator ==(Radius left, Radius right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(Radius left, Radius right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static Radius operator %(Radius a, float b)
Parameters
Type |
Name |
Description |
Radius |
a |
|
System.Single |
b |
|
Returns
Declaration
public static Radius operator %(Radius a, Radius b)
Parameters
Returns
Declaration
public static Radius operator *(Radius a, float b)
Parameters
Type |
Name |
Description |
Radius |
a |
|
System.Single |
b |
|
Returns
Declaration
public static Radius operator *(Radius a, Radius b)
Parameters
Returns
Declaration
public static Radius operator -(Radius a, float b)
Parameters
Type |
Name |
Description |
Radius |
a |
|
System.Single |
b |
|
Returns
Declaration
public static Radius operator -(Radius a, Radius b)
Parameters
Returns
Declaration
public static Radius operator -(Radius a)
Parameters
Type |
Name |
Description |
Radius |
a |
|
Returns