Boost logo

Boost :

From: Powell, Gary (powellg_at_[hidden])
Date: 2004-03-30 14:55:22


2D games do this all the time. It's more than a OS problem.
  -Gary-

-----Original Message-----
From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of Allan Odgaard
Sent: Tuesday, March 30, 2004 11:04 AM
To: boost_at_[hidden]
Subject: [boost] Region Library?

A region is used as the term to describe a set of rectangles -- e.g.
could be as simple as std::vector<rectangle>.

When working with regions, one often needs to perform various
operations like finding the intersection of two regions, the union,
subtract one region from another or xor two regions (which is the union
minus the intersection).

I would like to know if there is a) any interest in such a library
and/or b) if such a library already exists?

I figure the usefulness of such a library mostly has to do with
optimizing (and clipping) refresh in a graphical view port, which is
often something the operating system takes care of. And thus user code
rarely has to deal with these things.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk