Return a float value in (0,1) if a segment of base values intersects a base value, return -1.0 otherwise.
- Parameters
-
[in] | value1,value2 | Values defining the segment |
[in] | value | Value to locate |
[in] | basetype | Type of the values |
- Returns
- Return -1.0 if the value is not located in the segment or if the value is equal to the first or the last value. The reason is that the function is used in the lifting infrastructure for determining the crossings after testing whether the bounds of the segments are equal to a value.