I want to graphically depict the center point (center point of gravity) of a complex/non-symmetrical Polygon. There is no
QPointF QPolygon::center()
Finding the center of the boundingRect was easy, but wrong.
Any code/idea ?
I want to graphically depict the center point (center point of gravity) of a complex/non-symmetrical Polygon. There is no
QPointF QPolygon::center()
Finding the center of the boundingRect was easy, but wrong.
Any code/idea ?
Last edited by muenalan; 3rd December 2008 at 11:25.
Bookmarks