class OctTree { OctNode Root; OctTree( int levels, float girth ) { Root = new OctNode( null, levels, new PVector( -girth, -girth, -girth), new PVector( girth, girth, girth ) ); } ArrayList GetLeafNodes() { ArrayList acc = new ArrayList(); Root.GetLeafNodes( acc ); return acc; } ArrayList GetAllNodes() { ArrayList acc = new ArrayList(); Root.GetAllNodes( acc ); return acc; } }