PLoS supp. material by Hermann Cuntz
Deletes 0-length segments (except first segment of course)
in tree intree. Updates regions.
After setting coordinates of node 5 to those of node 4, eliminate resulting 0-length segment.
>> tree = sample2_tree;
>> tree.X(5) = tree.X(4);
>> tree.Y(5) = tree.Y(4);
>> tree.Z(5) = tree.Z(4);
>> elim0_tree (tree)
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License