Utilities for manipulating tree graphs, for the analysis of neuronal arbors.
Trait adding some topological utilities to a tree representation.
Given tuples of (child_id, optional_parent_id, child_data), make a tree whose node data are (id, data). Returns that tree, and a mapping from the passed-in IDs to the internal IDs.
Place one point at the start of the linestring.
Travel down the linestring, placing another point at intervals of
Keeps root, branches, and leaves: otherwise, resample each slab with the given length.