would be cool if we could feed array in inputs XY and get array out of 'point in path' on shapes modules so that it check if any point in the array is inside shape or not.
alternative reflexion, a way to manipulate paths could be nice. for exemple externalize this 'check if in path' via a module, a module would have path input (or XY array) and do this computation,
or for exemple shift path, scale, rotate, swap operations and feed back to path module, wich somehow should be doable just adding path points XY arrays outputs on shape module.
i would pers also love to be able to manipulate in sdk as well. for exemple given a path, easily check if a given XY point is in, . or maybe is there is some workable code to compute this ?
point in path - multitouch/array compatible
-
sm_jamieson
- Member
- Posts: 559
- Contact:
Look up "Point in polygon" in wikipedia (sorry if this states the obvious).
Many drawing libraries have this - maybe a user module could use the function from there.
This looks good:
http://geomalgorithms.com/a03-_inclusion.html
Many drawing libraries have this - maybe a user module could use the function from there.
This looks good:
http://geomalgorithms.com/a03-_inclusion.html
yes ive been lasy on that one^^ will try to figure this and find a code or lib. thx for sugg
I'll see if I can turn the point-in-path into a multi-touch version.
Olivier Sens
www.brainmodular.com
www.brainmodular.com
Who is online
Users browsing this forum: No registered users and 31 guests
