Page 1 of 1

CursorTool SnapToPoint and nearestPoint

Posted: Mon Jul 10, 2006 10:37 pm
by 9790735
Hi,

is there any way to control which direction snaptopoint or nearestpoint will favour? Current it finds the nearest point on either side of the cursor. Is there any way to force it to find the nearest point to one side of the cursor only?

thanks,

Posted: Tue Jul 11, 2006 8:15 am
by narcis
Hi matthbri,

Cursor's SnapToPoint looks for the first point series crossing it from the beginning of the series. So will prevail points on the left of the cursor. NearesPoint tool looks for the point with the minimum distance to the mouse cursor.

I'm afraid what you request is not implemented. However, you may achieve that implementing your own tool inherited from existing ones and overriding some of its methods.

Posted: Tue Jul 11, 2006 3:34 pm
by 9790735
ok, thanks