Hi, I was wondering if it is possible to use the Rhino.Geometry.R-Tree for loading only the geometry(Polygon or other) that fits in the Viewport. Lately I been messing around with country size Datasets. I’m pretty new at R-Trees so I don’t know how difficult would be to implement something similar to this video, any advice, information or examples would help. Thanks!!
https://www.youtube.com/watch?v=xsll-AMd430
R-Tree Paper = http://www-db.deis.unibo.it/courses/SI-LS/papers/Gut84.pdf
HTML Example = https://github.com/leaflet-extras/RTree
You can test the bounding box for a piece of geometry before adding it to the RTree.
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Display_RhinoViewport_IsVisible.htm