From b9fa125e422a5c538fe0e045094835470a503cd1 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 4 Jun 2021 19:29:04 -0700 Subject: [PATCH] remove unused boxf_intersect --- lib/common/geomprocs.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/common/geomprocs.h b/lib/common/geomprocs.h index ecd25e9c2..205fbeeb0 100644 --- a/lib/common/geomprocs.h +++ b/lib/common/geomprocs.h @@ -151,18 +151,6 @@ static inline pointf exch_xyf(pointf p) return r; } -static inline boxf boxf_intersect(boxf b0, boxf b1) -{ - boxf b; - - b.LL.x = MAX(b0.LL.x, b1.LL.x); - b.LL.y = MAX(b0.LL.y, b1.LL.y); - b.UR.x = MIN(b0.UR.x, b1.UR.x); - b.UR.y = MIN(b0.UR.y, b1.UR.y); - - return b; -} - static inline int box_overlap(box b0, box b1) { return OVERLAP(b0, b1); -- 2.40.0