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.