solid_angle library

Provides type-safe units for Solid Angle.

Import this file to use SolidAngle quantities and their extensions on num (like 1.5.sr, 4000.deg2).

Classes

Quantity<T extends Unit<T>>
An abstract representation of a physical quantity, encapsulating a numerical value and a specific unit of measurement.
SolidAngle
Represents a quantity of solid angle.
Unit<T extends Unit<T>>
A contract for all unit enums.

Enums

SolidAngleUnit
Represents units of solid angle.

Extensions

SolidAngleCreation on num
Provides convenient factory methods for creating SolidAngle instances from num.
SolidAngleValueGetters on SolidAngle
Provides convenient access to SolidAngle values in specific units.