internal static IEnumerable <LeafCellTreeNode> GetLeaves(CellTreeNode node)
            {
                LeafVisitor visitor = new LeafVisitor();

                return(node.Accept <bool, IEnumerable <LeafCellTreeNode> >(visitor, true));
            }
Ejemplo n.º 2
0
 // effects: Gets all the leaves in this
 internal IEnumerable <LeafCellTreeNode> GetLeafNodes()
 {
     return(LeafVisitor.GetLeaves(this));
 }