]> git.corax.cc Git - mwm/commit
common: Add functions for comparing geoms and pointers
authorMatthias Kruk <m@m10k.eu>
Tue, 18 May 2021 23:23:05 +0000 (08:23 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 18 May 2021 23:23:05 +0000 (08:23 +0900)
commit9fd2d7bdaf24a3984e6ad129e0c7afacd6a9ebd4
tree57cd251b8c3eb6aa7d21f1dc6e7625d1b0cc0ddb
parent8af2a122a3ba07b6a2a694c211face8d8d09d4fd
common: Add functions for comparing geoms and pointers

The loop_find() function needs a fallback comparison function to use
if no other comparison function was provided. This commit adds a
comparison function that compares two pointers.
Further, this commit adds a function that calculates the intersecting
area of two geometries.
common.c [new file with mode: 0644]
common.h