Description
Return endpoint values directly on exact hits; otherwise blend linearly by the normalized coordinate.
Linear interpolation blends endpoint values by a normalized coordinate. Its value weights, inverse slope, and sensitivities to moving nodes answer different questions and use different units.
Return endpoint values directly on exact hits; otherwise blend linearly by the normalized coordinate.
When to use this tool
Use Linear Node Exact Hit Policy when you need one explicitly defined linear interpolation term.
How to use the tool and how it works
- Enter query, leftNode, rightNode, leftValue, rightValue. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read exactHit, value. Inspect exactHit before interpreting the associated values.
Require leftNode < rightNode and query within the closed interval. Return endpoint values directly on exact hits; otherwise blend linearly by the normalized coordinate.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| query | Query | Required. Finite number. |
| leftNode | Left Node | Required. Finite number. |
| rightNode | Right Node | Required. Finite number. |
| leftValue | Left Value | Required. Finite number. |
| rightValue | Right Value | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| exactHit | Exact Hit | Required. Boolean. |
| value | Numeric value on the basis stated in the calculation above. | Required. Finite number. |
{
"input": {
"query": 4,
"leftNode": 2,
"rightNode": 4,
"leftValue": 7,
"rightValue": 10
},
"output": {
"exactHit": true,
"value": 10
}
} Limitations and assumptions
- Extrapolation is rejected and equality uses exact numeric comparison; no higher-order model, uncertainty, or measurement accuracy is supplied.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Validate endpoints and units and use a complete evaluator when clamping, extrapolation, or uncertainty propagation is required.
References
Similar or alternative tools
- Linear Bracket Local Coordinate
Require increasing nodes and query within them, then return (query-leftNode)/(rightNode-leftNode).
- Interpolant Endpoint Continuity Residual
Return rightLimit minus leftLimit for jump and exact equality for continuousExactly.