Structs§
- Equal
Angle Opts - Options for EqualAngle
- Pt
Functions§
- assign_
angles_ to_ edges - Assign angles to edges: compute split directions (per split id) on a circle, then stamp on edges unless forbidden.
- assign_
angles_ to_ splits - Compute split direction for each split id (1-based) by “mid-angle” between the first/last taxa (in cycle order) that lie on the part not containing cycle[1].
- assign_
coordinates_ to_ nodes - equal_
angle_ apply - Compute a split network with the (ported) Equal-Angle workflow.
- normalize_
cycle_ 1based - normalize cycle so that cycle[1] == 1; keep 1-based convention with index 0 unused
- rotate_
angles_ align_ leaf - Rotate all edge angles so the first edge incident to
taxon_idis aligned totarget_deg. Returns the delta that was applied (in degrees), orNoneif that leaf/edge couldn’t be found. - rotate_
angles_ align_ then_ offset - Align the first edge incident to
taxon_idtotarget_degthen apply a global rotation ofextra_offset_deg. - rotate_
angles_ in_ place - Add
delta_deg(in degrees) to every stored edge angle, modulo 360. - wrap_
split - Translate Java: EqualAngle.wrapSplit(…)