Boost logo

Boost :

Subject: Re: [boost] Proposal/InterestCheck: Boost.Geom
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-01-29 13:12:31


Barend Gehrels wrote:

> So this works as well:
> int box[4] = {1,1,10,10};
> int c[2] = {5, 5};
> bool is_inside = geometry::within(c, box);

So an int[4] is a 2D box and an int[2] is a 2D point?
That looks like quite some arbitrary choices...


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