Re: SVG object collision detection handling...

Hello Florian,

Yes there is collision detection ......the section to look at is:

5.11 DOM interfaces
http://www.w3.org/TR/SVG/struct.html#InterfaceSVGSVGElement 

NodeList getIntersectionList ( in SVGRect rect, in SVGElement referenceElement );
 NodeList getEnclosureList ( in SVGRect rect, in SVGElement referenceElement );
 boolean checkIntersection ( in SVGElement element, in SVGRect rect );
 boolean checkEnclosure ( in SVGElement element, in SVGRect rect );


This should work for you  :-)

We all learn by sharing what we know
Robert A. DiBlasi
http://www.svgnotebook.com

>>> Florian De Vuyst <Florian.De-Vuyst@cmla.ens-cachan.fr> 03/17/02 03:44PM >>>
I don't see anything about object collision detection
in SVG specs. Is it possible ?
Regards,
florian de vuyst

Received on Monday, 18 March 2002 10:11:47 UTC