Friday, July 25th, 2008
Intersections and SVG objects
Kevin Lindsey has a suite of tests that show various intersection routines for SVG objects:
Each link allows you to manipulate the shapes listed. All intersections between the two shapes are updated as you manipulate the shapes. Some intersections display additional information when the shapes do not intersect. As an example, the circle-circle intersection determines if one circle is contained by the other circle.
It is important to note there are known problems with the Bezier-Bezier (any combination of quadratric and cubic) intersection routines. Incorrect intersections are reported when the control points use small values.
Here are a few:







![[image]](http://mowser.com/img?url=http%3A%2F%2Fajaxian.com%2Fimages%2Fpragmatic-ajax-book-cover-sm.jpg)




![[image]](http://mowser.com/img?url=http%3A%2F%2Fajaxian.com%2Fimages%2Fplanet-ajaxian-small.gif)

![[image]](http://mowser.com/img?url=http%3A%2F%2Fax.phobos.apple.com.edgesuite.net%2Fimages%2Fbadgeitunes61x15dark.gif)

![[image]](http://mowser.com/img?url=http%3A%2F%2Fwww.podnova.com%2Fimages%2Fchicklet_podnova.gif)
Leave a comment