What transformer can I use to snap the red line to the black line keeping the intersection point (blue circles) in place? Anchored Snapper would snap the edges but shortens the red line while Affine Warper works only for short lines. Thanks!
Snapping one line to another
Best answer by dustin
Thanks for the quick reply. The black line is made of connected vertices separated 1 meter apart. I also tried your workaround by clipping the black line and giving the red line's attribute into it using Neighborfinder. But I encounter a problem when several red lines overlap. I haven't found a way to clip the black line using the intersection of the first red line, store it, then clip the original black line using the intersection of the second red line and then store the feature. This would definitely solve my problem.
Hmm, I wonder if it's the lack of vertices in the red line causing the issue on the longer lines. What if you tried a Densifier on the red lines before the AnchoredSnapper? You may have to play with the number of verts to add.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.