Interval Structure
Name | Description | |
---|---|---|
Interval(double, double) | Standard constructor. | |
Interval(double[]) | Double array constructor. |
Name | Description | |
---|---|---|
High | Gets the right interval value. | |
IsDecreasing | Returns true if t0 > t1. | |
IsIncreasing | Returns true if t0 < t1. | |
IsTwoPI | Returns true if the interval length is 2*PI. | |
Left | Gets the left interval value. | |
Length | Returns t1 - t0. | |
Low | Gets the left interval value. | |
Max | Returns larger of t0 and t1. | |
Mid | Returns 0.5 * (t0 + t1). | |
Min | Returns smaller of t0 and t1. | |
Right | Gets the right interval value. |
Name | Description | |
---|---|---|
Clamp(ref double) | Clamps the value between the interval bounds. | |
GetXElement(string) | ||
Includes(double, bool) | Tests a value t to see if it is inside the interval. | |
Includes(double, double) | Tests a value t to see if it is inside the interval within a given tolerance. | |
Intersection(Interval, Interval) | Compute the intersection of the specified intervals. | |
Merge(IList<Interval>, double) | Merges a list of intervals. | |
ParameterAt(double) | Convert normalized parameter to interval value, or pair of values. | |
Reverse() | Changes interval to [-t1, -t0]. | |
Swap() | Swaps t0 and t1. | |
ToString() | Converts this Interval to a human readable string. |