
Hi,
Maybe it's just me doing something wrong, but I cannot get an intersection with the _closing_ segment of a rectangle. The first three segments between the four points of the rectangle behave as expected and do intersect nicely, but it looks like the closing segments is discarded when using the SimpleCrosser().
Is this by design or a bug, or am I missing something?
This behaviour introduces a bug in Inkscape's snapping mechanism. For a constrained snap, I need to find an intersection of a linesegment (in the direction of the constrained handle movement) with an arbitrary path, but this doesn't work for the closing segment.
Regards,
Diederik

Hi Diederik,
Marco has the same problem in 2geom. I think it's a bug by design (the closing segment does not belong to the domain of the path); we are thinking about including it in the domain (while keeping the representation the same as it is now). http://lib2geom.gristle.org/2008-05-05.txt
-johan
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Diederik van Lierop Sent: dinsdag 6 mei 2008 8:16 To: inkscape-devel@lists.sourceforge.net; lib2geom-devel@lists.sourceforge.net Subject: [Inkscape-devel] SimpleCrosser
Hi,
Maybe it's just me doing something wrong, but I cannot get an intersection with the _closing_ segment of a rectangle. The first three segments between the four points of the rectangle behave as expected and do intersect nicely, but it looks like the closing segments is discarded when using the SimpleCrosser().
Is this by design or a bug, or am I missing something?
This behaviour introduces a bug in Inkscape's snapping mechanism. For a constrained snap, I need to find an intersection of a linesegment (in the direction of the constrained handle movement) with an arbitrary path, but this doesn't work for the closing segment.
Regards,
Diederik
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java
.sun.com/javaone
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
unknown@example.com
-
Diederik van Lierop