Contents
Navigation
Home User Reference Other Resources


This is an utility class that allows you to create and manage easily range of numbers; you will be required to use instances of this class in many plugin methods.

Since version 6.7 of the plugin this class can be used in Console Applications






The QTPlgNumericalRange class constructors are called when you create a new instance of the class, while the ˜QTPlgNumericalRange class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. A QTPlgNumericalRange object is always valid.

The class provides you with the following initializer methods:

()
This is the default constructor. Both the and class properties are set to 0.0; the is set to 1.0
(other as QTPlgNumericalRange)
This is the copy constructor. If the object to be copied is valid, then its properties will be used to initialize the new class instance properties
(startAt as double, endAt as double)
the and class properties are initialized to the values of the startAt and endAt parameters; the is set to 1.0

specifies the start value of the numerical range
specifies the final value of the numerical range
indicates the middle point of the the numerical range
specifies the scale to be applied to the numerical range values; every time you change the value of the scale, the range values will change accordingly