internal static IEnumerable <LeafCellTreeNode> GetLeaves(CellTreeNode node) { LeafVisitor visitor = new LeafVisitor(); return(node.Accept <bool, IEnumerable <LeafCellTreeNode> >(visitor, true)); }
// effects: Gets all the leaves in this internal IEnumerable <LeafCellTreeNode> GetLeafNodes() { return(LeafVisitor.GetLeaves(this)); }