Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to detect 3 silmutaneous touch point in my WPF application

$
0
0

Dear all,

I am building a WPF application concept in order to use tangible object. I have design an object which is represented as below :

Red conductive points allows me to identify if it is an object or not, and green points alows me to identify and object ID.
When this object is place on a capacitive touch screen, it simulate touch input.

So based on the Red conductive point of the object, I need to detect them from my wpf application touch stack input.
I have trouble to do that , what I need to do is the follwoing :

1 - I need first to detect what are the 3 most outise touch points from green and red
2 - when I have detected the 3 point, then I need to calculate the distance between each 3 points
3- if the 3 distance are corresponding by the triangle formed by the 3 red dot, then I have detected an object and not a finger.

My scool is far awayand could not remeber how can I appraoch this to know how to catch my object

Thanks for any help and advise

regards


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>