def remote_angle(bifurcation_point): '''Calculate the remote bifurcation angle''' end_points = tuple(p for p in tr.i_branch_end_points(bifurcation_point)) return mm.angle_3points(bifurcation_point.value, end_points[0].value, end_points[1].value)
def _build_tuple(tree): return tuple(p for p in val_iter(i_branch_end_points(tree)))
def _build_tuple(tree): return tuple(p for p in val_iter(i_branch_end_points(tree)))
def _remangle(t): '''Helper to calculate the remote angle''' end_points = tuple(p for p in tr.i_branch_end_points(t)) return mm.angle_3points(t.value, end_points[0].value, end_points[1].value)
def _remangle(t): '''Helper to calculate the remote angle''' end_points = tuple(p for p in tr.i_branch_end_points(t)) return mm.angle_3points(t.value, end_points[0].value, end_points[1].value)