W3C home > Mailing lists > Public > www-svg@w3.org > March 2002

Re: SVG object collision detection handling...

From: Robert Diblasi <rdiblas@wpo.it.luc.edu>
Date: Mon, 18 Mar 2002 09:11:03 -0600
Message-Id: <sc95af38.068@wpo.it.luc.edu>
To: <Florian.De-Vuyst@cmla.ens-cachan.fr>, <www-svg@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT