Hi,

I've been writing a PyX-based library
(http://projects.hepforge.org/pyfeyn/) which makes a lot of use of the
coil deformer for arbitrary lines. For display reasons, it would be nice
if I can offer a "3D" variant of the coil line, where the line isn't
drawn for a short distance around one branch of its self-intersection,
giving the impression that you're actually looking at a 3D coil. (It's
hard to describe... maybe the examples in the tutorial PDF linked from
http://www.feyndiagram.com will explain.)

Any suggestions how I can get this effect? The obvious thing would be to
know the line param values for the self-intersection and then to split
the line and remove the segments around those points. But I don't know
how to get those intersection parameters - the fact that it's a
deformation of an arbitrary line means I can't use a standard regular
parameterisation and I get a roughly infinite number of points if I
actually ask the line for its intersection points with itself!

Any bright ideas? :)

Cheers,
Andy

PS. I think we can assume that the line that's been deformed doesn't
itself self-interact... so that's not a concern.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to