Skip to main content
Ctrl+K
PyEDB-Core - Home PyEDB-Core - Home
  • Getting started
  • User guide
  • API reference
  • Examples
  • Contribute
Ctrl+K
  • GitHub
Ctrl+K
  • Getting started
  • User guide
  • API reference
  • Examples
  • Contribute
  • GitHub
  • Database
  • Definition
  • Geometry
    • ArcData
    • RTree
      • connected_geometry
      • create
      • delete
      • empty
      • increment_visit
      • insert
      • is_visited
      • nearest_neighbor
      • search
      • touching_geometry
      • visit
      • connected_geometry_sets
      • extent
      • get_visit
      • id
      • is_null
      • msg
    • PolygonData
    • PointData
    • Point3DData
    • Triangle3DData
    • ExtentType
    • PolygonSenseType
  • Hierarchy
  • Layers
  • Layout
  • Layout instance
  • Nets
  • Primitives
  • Session
  • Simulation setup
  • Terminals
  • Utility
  • Release notes
  • PyAnsys
  • API reference
  • Geometry
  • RTree
  • search

search#

RTree.search(box, bb_search)#

Search all objects intersecting a given box.

Parameters:
boxtuple[PointData, PointData]

Testing region, described as a “lower-left, upper-right” box.

bb_searchbool

Whether the RTree object intersects when the bounding-box of its PolygonData instance intersects the testing object. If False, an explicit intersection is required for a hit.

Returns:
list of RTreeObj

List of intersecting RTree objects.

On this page
  • RTree.search()
Edit on GitHub
  • Show Source

© Copyright (c) 2025 ANSYS, Inc. All rights reserved.

Created using Sphinx 7.2.6.

Built with the Ansys Sphinx Theme 1.4.2.
Last updated on