sys::Obj sys::Virtual sys::Component math::MinMax
public class MinMax
[niagaraIcon="module://icons/x16/control/control.png"]
Min/Max object computes min and max of an input value every execute cycle Resets min/max to input value if r == true
public property float in
the value on which to track the min and max value
public property float maxOut [readonly]
the computed max of all in's
public property float minOut [readonly]
the computed min of all in's
public property bool r
reset input. If r = true, then minOut and maxOut are forced to "in" value
public virtual override void execute()
Execute computes the min/max
public action void reset()
reset action sets the initial values
public virtual override void start()
Start sets the initial values