Struct ScalarConstraint
Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll
public readonly record struct ScalarConstraint : IEquatable<ScalarConstraint>
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ScalarConstraint(double, double, double)
public ScalarConstraint(double Min, double Preferred, double Max)
Parameters
Min
double
Preferred
double
Max
double
Properties
Max
public double Max { get; init; }
Property Value
Min
public double Min { get; init; }
Property Value
Preferred
public double Preferred { get; init; }
Property Value
Methods
Tight(double)
public static ScalarConstraint Tight(double value)
Parameters
value
double