I have been struggling with this for last one week. I am using wxWidgets and OpenGL. As I had mentioned in my previous thread,


I want to implement a editing of polyline. There are a set of control points on the polyline and using these, editing has to be done. In my case, polyline is one type of object and point is another type of object. So how can I establish connection between these two? i.e. when point is picked and moved, if that point is a part of polyline, the corresponding line segments of polyline must also be updated on the fly as the mouse is being dragged.

So how to do this? how to link points with arc. Right now points are moving along with mouse drag.


Rakesh Patil