Boost logo

Boost Users :

Subject: [Boost-users] [Geometry] Calculating the centre of a rectangle
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2014-01-16 01:37:13


Hi All,

I'm in the process of needing to calculate the centre point of a rectangle, given the top left and bottom right co-ordinates.
Before I write this myself, I was wondering whether boost Geometry already has something to do this.
Any help appreciated.
Cheers
Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net