View Single Post
  #4  
Old January 5th, 2009, 05:56 PM
HallsofIvy HallsofIvy is offline
MHF Contributor
 
Join Date: Apr 2005
Posts: 3,301
Thanks: 291
Thanked 1,161 Times in 1,063 Posts
HallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud of
Default

Quote:
Originally Posted by nevetha View Post
Okay let me be clear.
There is a polygon. U need to either translate or rotate it.

I need this for a computer based imaging system. The polygon is drawn with the help of mouse randomly.

There is a point inside the polygon. Now am able to translate the polygon using some pre-defined options. But there is no provision for translating the point(within the polygon) and hence it has to be done manually by coding. So what should we do to move the point to its new position with respect to the shifted polygon
Apply whatever transform you are doing to the polygon to the point itself.
Reply With Quote