Re: PreparedGeometry and const

2024-08-09 Thread Sandro Santilli
On Thu, Aug 08, 2024 at 03:25:33PM -0700, Paul Ramsey wrote: > Have a gander at the PreparedGeometry.h file. > It asserts that all the prepared predicates are const. > Have a gander at the implementation of, say, PreparedPolygon::intersects() > It naturally also declares itself to be const, but it

PreparedGeometry and const

2024-08-08 Thread Paul Ramsey
Have a gander at the PreparedGeometry.h file. It asserts that all the prepared predicates are const. Have a gander at the implementation of, say, PreparedPolygon::intersects() It naturally also declares itself to be const, but it calls the “static” function PreparedPolygonIntersects::intersects(th