R162 - modelint/flatland-model-diagram-editor GitHub Wiki
R162 / Generalization
Branch is a Grafted Branch, Interpolated Branch, or Rut Branch
There are three ways to determine the placement of a Branch. In the case of a Rut Branch the user specified a Path which establishes a Lane and a Rut. An Interpolated Branch is placed at the halfway point in between opposing Node faces. This is determined by taking all of the faces hanging in the Rut Branch, finding the two closest opposing faces and then identifying the halfway point between them. Finally, a Grafted Branch is collinear with a user specified Anchor Tree Stem.