Hello, SVG does not provide such a function.
For SVG 1.2 full, there is a feature planned, called vector effects, which allows, among other things to do intersections. However, this still doesn't return you the intersection points. You'd have to do it in javascript. One good resource for intersection calculations is Kevin Lindseys website: http://www.kevlindev.com/geometry/index.htm If you deal with Geodata, you may also want to have a look at Postgis (spatial extension of PostgreSQL) which provides similar functions. Andreas --- In [email protected], "neslindy" <[EMAIL PROTECTED]> wrote: > > hi.... > > This is my Q. > giv an example like i draw two polygon.... > <polygon points="150,50 150,300 180,300 180,50" fill="blue" > stroke="black" /> > <polygon points="80,120 250,120 250,150 80,150" fill="blue" > stroke="black" /> > then when i select both this two polygon then i hope to get a new cross > shape polygon... > <polygon points="80,120 150,120 150,50 180,50 180,120 250,120 250,150 > 180,150 180,300 150,300 150,150 80,150" fill="blue" stroke="black" /> > > Did anyone know how to get the function which can get the point of > intersection. > > It is like function union in Inkscape..... how to do this o..... > help help... > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

