UMD.HCIL.Piccolo.PNode.FindIntersectingNodes C# (CSharp) Method

FindIntersectingNodes() public method

Checks this node and it's descendents for intersection with the given bounds and adds any intersecting nodes to the given list.
public FindIntersectingNodes ( RectangleF fullBounds, UMD.HCIL.Piccolo.Util.PNodeList results ) : void
fullBounds System.Drawing.RectangleF /// The bounds to check for intersection, in parent coordinates. ///
results UMD.HCIL.Piccolo.Util.PNodeList /// The resulting list of nodes. ///
return void
		public void FindIntersectingNodes(RectangleF fullBounds, PNodeList results) {
			if (FullIntersects(fullBounds)) {
				RectangleF bounds = ParentToLocal(fullBounds);

				if (Intersects(bounds)) {
					results.Add(this);
				}

				int count = ChildrenCount;
				for (int i = count - 1; i >= 0; i--) {
					PNode each = children[i];
					each.FindIntersectingNodes(bounds, results);
				}
			}
		}