Closed peterstace closed 1 year ago
This is a helper method that converts a geom.Envelope to an rtree.Box. Without this helper, users have to call MinMaxXYs() to get the two extreme points from the Envelope, and then construct the rtree.Box manually.
geom.Envelope
rtree.Box
MinMaxXYs()
Envelope
Have you:
Added unit tests? Yes.
Add cmprefimpl tests? (if appropriate?) N/A
Updated release notes? (if appropriate?) Yes.
N/A
Thanks for reviewing!
Description
This is a helper method that converts a
geom.Envelope
to anrtree.Box
. Without this helper, users have to callMinMaxXYs()
to get the two extreme points from theEnvelope
, and then construct thertree.Box
manually.Check List
Have you:
Added unit tests? Yes.
Add cmprefimpl tests? (if appropriate?) N/A
Updated release notes? (if appropriate?) Yes.
Related Issue
Benchmark Results
N/A