Description
Require nonnegative firstClearSide and secondClearSide and use Math.hypot for diagonal.
Architectural quantities depend on dimension references, area boundaries, slopes, and construction allowances. A component calculation can describe a proposed geometry without establishing code compliance, structural adequacy, or buildability.
Require nonnegative firstClearSide and secondClearSide and use Math.hypot for diagonal.
When to use this tool
Use Room Diagonal Clearance Two Sides when you need one explicit architectural geometry component using a common measurement basis.
How to use the tool and how it works
- Enter firstClearSide, secondClearSide. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read diagonal. Use the output convention below.
Require nonnegative firstClearSide and secondClearSide and use Math.hypot for diagonal.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstClearSide | First Clear Side | Required. Finite number; minimum 0. |
| secondClearSide | Second Clear Side | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| diagonal | Diagonal | Required. Finite number. |
{
"input": {
"firstClearSide": 3,
"secondClearSide": 4
},
"output": {
"diagonal": 5
}
} Limitations and assumptions
- This assumes perpendicular sides of a planar rectangle; a diagonal alone does not prove object passage, turning clearance, or accessible movement.
- 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
Check the complete drawings, applicable requirements, and qualified design review before construction.
References
Similar or alternative tools
- Wheelchair Clear Width Measured Margin
Return their difference and an inclusive meetsSuppliedWidth flag.
- Sphere Chord Midpoint Depth
Use the normalized half-chord and a rationalized sagitta expression for depthFromSurface to reduce cancellation.