Retrieves edges that intersect with a given rectangle. Utilizes the Quadtree for efficient spatial querying.
The rectangle to query against.
OptionalcollisionTest?: FunctionCollision function to test edge inclusion.
OptionalincludeInnerBounds?: booleanShould inner bounds be added?
OptionalincludeOuterBounds?: booleanShould outer bounds be added?
A set of Edge instances that intersect with the provided rectangle.
Clear content and initializes the quadtree.
Incrementally refreshes edges by computing intersections between all registered edges. Utilizes the Quadtree to optimize the intersection detection process.
A specialized Map class that manages all edges used to restrict perception in a Scene. Integrates with a Quadtree for efficient spatial queries.