CompressedAabbTreeCopyTo Method |
Namespace: DigitalRune.Geometry.Partitioning
Exception | Condition |
---|---|
ArgumentNullException | array is . |
ArgumentOutOfRangeException | arrayIndex is less than 0. |
ArgumentException | array is multidimensional. Or arrayIndex is equal to or greater than the length of array. Or the number of elements in the source CompressedAabbTree is greater than the available space from arrayIndex to the end of the destination array. |
The CompressedAabbTree is not modified. The order of the elements in the new array is the same as the order of the elements in the tree in depth-first order.
This method is an O(n) operation, where n is the number of nodes in the tree!