ST class

Alternative representation of (L_cusp, C_cusp) Encoded so S = C_cusp/L_cusp and T = C_cusp/(1-L_cusp) The maximum value for C in the triangle is then found as min(SL, T(1-L)), for a given L

Represents Saturation and Tone. S: Saturation, typically in range 0, 1 but can exceed 1 T: Tone, typically in range 0, 1 but can exceed 1 Example usage: ST ST_max = toST(cusp); // S and T are used in calculations: double k = 1 - S_0 / ST_max.S; double C_v = s * ST_max.T * S_0 / (S_0 + ST_max.T - ST_max.T * k * s);

Constructors

ST(double S, double T)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
S double
getter/setter pair
T double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited