On Wed, 22 Aug 2007 17:28:13 -0300, "bulia byak" <buliabyak@...400...> wrote:
As far as I can tell this class is not being used in the object-snapper, so I guess we'll have to do without this.
It's very easy just to borrow the math from there. Basically a node is smooth when its handles and itself all lie on one line.
Incidentally, I think your idea of using the smoothness test is a better approach than the earlier idea of using sodipodi:nodetypes, because it doesn't require the user to have set cusp versus smooth nodes correctly (as far as I know, the automatic type assignment is only used when loading a path that isn't already annotated with node types?).
Do you think it would be a good idea to use a slightly looser tolerance when determining smoothness for snapping purposes?
-mental