join two paths

J

jbrand

Guest
Hi,

I'm looking for code to join two paths. The result should be one path
which is the combination of the two.

Joe
 
Are the paths ending on coincident points ?
For this, the code should be quite easy.

If you have situations where the paths are overlapping, that can be
a bit complex, especially if you have multiple overlaps, and/or
closed loops.

Kholdoun TORKI
http://cmp.imag.fr
=====================

jbrand wrote:

Hi,

I'm looking for code to join two paths. The result should be one path
which is the combination of the two.

Joe
 
Right now, I 'm just concerned with councident end points and two
paths. I was hoping there might be some code already written. The
code is easy , but every time I need a snippit if code, I have to
re-invent the wheel. I haven't been able to find a decent repository
of skill code out there. Anyone know if there is one?

Joe
 
If I understand correctly, Edit->Merge command should help.
--
Suresh
jbrand wrote:
Right now, I 'm just concerned with councident end points and two
paths. I was hoping there might be some code already written. The
code is easy , but every time I need a snippit if code, I have to
re-invent the wheel. I haven't been able to find a decent repository
of skill code out there. Anyone know if there is one?

Joe
 
The Edit=>Merge will convert to a merged polygon. I want the path to
be combined into one path as a path.

Joe
 
The Edit=>Merge will convert to a merged polygon. I want the paths to
be combined into one path as a path.

Joe
 
But if the edges are just touching, the merge does not result a polygon;
it creates a path.

regards,
Suresh

jbrand wrote:
The Edit=>Merge will convert to a merged polygon. I want the paths to
be combined into one path as a path.

Joe
 
Ok, I tried that and it works for paths when the ends are butting but
the direction is not changing. I'm trying to automate this and almost
have the code I need written. Again, I'm sure there is code out there.
I write a lot of skill code and end up re-inventing the wheel most of
the time. It would be nice if there were some sort of user supported
skill repository...

Joe
 

Welcome to EDABoard.com

Sponsor

Back
Top