discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

nodeOwner function

int nodeOwner(
  1. List<End> ends
)

The index of the lowest (handle, end) among ends.

Implementation

int nodeOwner(List<End> ends) {
  var o = 0;
  for (var i = 1; i < ends.length; i++) {
    if (_byHandleThenEnd(ends[i], ends[o]) < 0) o = i;
  }
  return o;
}