Rank: 11435 based on 0 downloads (last 30 days) and 0 files submitted
photo

alexia lavadens

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by alexia View all
Updated File Comments Rating
23 Nov 2008 geom2d Functions for geometric computations on planar shapes (points, lines, circles, polygons...) Author: David Legland

Hi, what a bad name for a variable/function "pi", I mean:

"pi=intersectLinePolygon(line, points)"

I had a headache trying to discover what was wrong with this file (because in theory it should work), it was part of a very large project I was working in.

Finally I discovered the "pi" issue, "pi" is present in the code, but I also had to work with pi=3.1415..., and this cr*p of matlab got confused. Oh Mathematica !, I have such good memories...

Certainly is not so clever call a variable/function "pi" in a geometry script. Besides, as peter said is very badly commented (found errors), so don't trust to much with this one.

23 Nov 2008 geom2d Functions for geometric computations on planar shapes (points, lines, circles, polygons...) Author: David Legland

Contact us at files@mathworks.com