Description
Return structure-label depth from an ancestor list.
Anatomical diagrams and idealized models require explicit coordinate origins, axes, dimensions and indexing conventions. Translations, vector projections and simple shape formulas describe supplied geometry rather than identifying actual anatomy or determining a medical finding. A scaled drawing or ideal branching tree needs separate anatomical verification.
Return structure-label depth from an ancestor list.
When to use this tool
Use Structure Label Parent Depth when checking the stated diagram, coordinate, vector or ideal-shape convention.
How to use the tool and how it works
- Enter ancestors, includeSelf. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read depth. Use the output convention below.
Return structure-label depth from an ancestor list. depth = ancestors.length plus one when includeSelf.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| ancestors | Ancestors | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| includeSelf | Include Self | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| depth | Depth | Required. Safe integer. |
{
"input": {
"ancestors": [
"root",
"parent"
],
"includeSelf": true
},
"output": {
"depth": 3
}
} Limitations and assumptions
- The ancestor list is not validated for uniqueness, cycles or actual anatomical relationships.
- 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.
Alternative or Complementary methods
Use verified anatomical measurements and an appropriate complete spatial model; consult qualified health professionals for actual medical interpretation.
References
Similar or alternative tools
- Vertebral Level Supplied Order Gap
Return a supplied vertebral-order index gap.
- Nerve Branch Tree Generation Index
Return a regular branch-tree generation address.