overlapShape

expect fun overlapShape(proxy: ShapeProxy, filter: QueryFilter = QueryFilter.Default, callback: (Shape) -> Boolean): TreeStats

Query for shapes overlapping a shape proxy. The callback is called for each shape found. Return true from the callback to continue the query, false to stop.

Return

Tree traversal statistics

Parameters

proxy

The shape proxy to test

filter

Query filter to select which shapes to test

callback

Called for each overlapping shape. Return true to continue.