Table of Contents

Class Constants

Namespace
Xui.Core.Math2D
Assembly
Core.dll

Common mathematical constants used throughout 2D geometry and curve computations.

public static class Constants
Inheritance
Constants
Inherited Members

Fields

sqrt2

√2 (square root of 2): Diagonal of a unit square.

public static readonly NFloat sqrt2

Field Value

NFloat

ε

ε (epsilon): A small value used for numerical stability checks.

public static readonly NFloat ε

Field Value

NFloat

π

π (pi): Ratio of a circle’s circumference to its diameter.

public static readonly NFloat π

Field Value

NFloat

τ

τ (tau): One full circle in radians (2π).

public static readonly NFloat τ

Field Value

NFloat

ϕ

ϕ (phi): The golden ratio (≈ 1.618).

public static readonly NFloat ϕ

Field Value

NFloat