On 2015-02-26 Martin Davis wrote: > On 2015-02-24 Jan Tosovsky wrote: > > > > http://drifted.in/other/jts/snapping.png (exaggerated) > > > > Can I somehow snap line fragment endpoints (blue) to the > > specific path (red) if the distance is in a specified > > tolerance? > > Have you looked at: DistanceOp.nearestPoints ? > ... > > Or if you are working only with lines, look at LengthIndexedLine > project() and extractPoint()
Wow, thanks, it looks promising, I'll give it a try. Jan
<<attachment: winmail.dat>>
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Jts-topo-suite-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
