Description
Return rowSpacing-firstEncroachment-secondEncroachment without clamping.
Agroforestry geometry separates row widths, root-zone intervals, canopy projections and repeated-strip area bases. Optical shade, optical porosity and a clear machinery corridor are different quantities. Ideal dimensions and supplied overlaps can support bookkeeping without establishing light conditions, aerodynamic shelter or safe access.
Return rowSpacing-firstEncroachment-secondEncroachment without clamping.
When to use this tool
Use Crop Alley Usable Width when checking the stated ideal tree-row, shade, buffer or area convention.
How to use the tool and how it works
- Enter rowSpacing, firstEncroachment, secondEncroachment. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read usableWidth. Use the output convention below.
Require nonnegative spacing and encroachments. Return rowSpacing-firstEncroachment-secondEncroachment without clamping.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| rowSpacing | Row Spacing | Required. Finite number; minimum 0. |
| firstEncroachment | First Encroachment | Required. Finite number; minimum 0. |
| secondEncroachment | Second Encroachment | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| usableWidth | Usable Width | Required. Finite number. |
{
"input": {
"rowSpacing": 12,
"firstEncroachment": 2,
"secondEncroachment": 3
},
"output": {
"usableWidth": 7
}
} Limitations and assumptions
- Negative width reports an overdrawn corridor; no actual canopy shape or safe machinery passage is verified.
- 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
Use measured terrain and canopy geometry, appropriate light/flow models and qualified agricultural/engineering assessment for actual layouts and operations.
References
Similar or alternative tools
- Alley Operation Clearance Gap
Return clearAlley=spacing-left-right, required=implement+2*margin and their signed difference.
- Tree Row Root Zone Overlap Width
Treat root zones as horizontal intervals [-firstRadius,firstRadius] and [rowSpacing-secondRadius,rowSpacing+secondRadius].