QuadTreeTItem(RectangleD2D, FuncTItem, RectangleD2D) Constructor |
Creates a quad tree for the specified rectangular boundaries.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public QuadTree(
RectangleD2D rect,
Func<TItem, RectangleD2D> EvaluateItemBounds
)
Parameters
- rect RectangleD2D
- The rectangular boundaries of this quad. See remarks for further instructions.
- EvaluateItemBounds FuncTItem, RectangleD2D
- A function that evaluates the item's bounding rectangle. The area of the returned rectangle may be small, but should not be empty.
Remarks If you create a quad tree, choose the boundaries so that all items that you intend to add to this quad tree
will intersect with the boundary rectangle. Items that will not intersect will be not added!!
See Also