]> granicus.if.org Git - graphviz/commitdiff
remove unused boxf_intersect
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 02:29:04 +0000 (19:29 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 04:05:43 +0000 (21:05 -0700)
lib/common/geomprocs.h

index ecd25e9c26a9a395456b90f0897300d43ea32afb..205fbeeb0ca7feb6ecef35a0b9e27900dac8a2fa 100644 (file)
@@ -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);