path_setedge

Posted By: txesmi

path_setedge - 03/05/12 14:02

Hi,
I found that when calling path_setedge function, the modified edge looses its bidirectional property set in WED and is no longer available from the other end node through path_getedge.

Salud!
Posted By: jcl

Re: path_setedge - 03/06/12 09:53

Yes - this is no bug, but a missing info in the documentation. When you set the edge length, use a negative value for a bidirectional edge. This will be added to the manual.
Posted By: txesmi

Re: path_setedge - 03/06/12 11:57

ok, thanks for your clarification.

If path_getedge returns a negative length when it is bidirectional would be great indeed!

Salud!
© 2024 lite-C Forums