Boost logo

Geometry :

Subject: [ggl] box/box clipping
From: feverzsj
Date: 2010-12-27 21:20:48


hi, Barend
box/box clipping is often used in lots of scene, while in ggl, using
intersection is just too cumbersome for such simple job.
Is it possible to add a dedicated function for such case?
For example:
bool clip_box(Box const& b1, Box const& b2, Box& clipped); // while no
intersection found, returns false.
or
Box clip_box(Box const& b1, Box const& b2); // while no intersection found,
returns inverse infinite box.

regards, zsj

-- 
View this message in context: http://boost-geometry.203548.n3.nabble.com/box-box-clipping-tp2154602p2154602.html
Sent from the Boost Geometry mailing list archive at Nabble.com.

Geometry list run by mateusz at loskot.net