EthanBoiDev

Relight Engine Documentation

Core::Math::RangeBound

Core::Math::RangeBounds handles the RangeBound Class

RangeBound contains a value for the Range class to use for upper and lower bounds

There are 3 types of Bounds:

Class RangeBound

RangeBound()

A constructor that change the RangeBound type to open


RangeBound(Template Value)

A constructor that change the value to Value and RangeBound type to Inclusive


bool IsNotOpen()

Returns true if the Rangebound is either Inclusive or Exclusive


Template ReturnNotOpen()

Returns the value if the Rangebound is either Inclusive or Exclusive


void SetNotOpen(T Value)

Set the value if the Rangebound is either Inclusive or Exclusive


bool IsInclusive()

Returns True if the value is Inclusive/p>


bool IsExclusive()

Returns True if the value is Exclusive


bool IsOpen()

Returns True if the value is Open


Template GetValue()

Returns the value


static RangeBound LesserOfLow(RangeBound Range1, RangeBound Range2)

Returns the rangebound of the lesser of the 2 lower bounds


static RangeBound GreaterOfLow(RangeBound Range1, RangeBound Range2)

Returns the rangebound of the greater of the 2 lower bounds


static RangeBound LesserOfUp(RangeBound Range1, RangeBound Range2)

Returns the rangebound of the lesser of the 2 upper bounds


static RangeBound GreaterOfUp(RangeBound Range1, RangeBound Range2)

Returns the rangebound of the greater of the 2 upper bounds