DD::Image::IRange Struct Reference

Public Member Functions

 IRange (double A, double B, bool F=false)
 

Public Attributes

double a
 
double b
 
bool force
 

Detailed Description

Represents an inclusive range from one double value to another.

Constructor & Destructor Documentation

DD::Image::IRange::IRange ( double  A,
double  B,
bool  F = false 
)
inline

Construct an inclusive range. A refers to the start of the range. B refers to the end of the range. F indicates whether the range should be enforced or not. Setting this to true is equivalent to setting the FORCE_RANGE flag on the knob.



©2021 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk