private TouchPoint UpdateTouchPoint(TouchPoint tp, TuioCursor cursor) { tp.PreviousPoint = tp.CurrentPoint; tp.CurrentPoint = cursor.getPath().Last().ToPoint(GestureManager); tp.CurrentTimeMS = cursor.getTuioTime().getTotalMilliseconds(); tp.Distance = cursor.getTotalDistanceInPixel(this.GestureManager); tp.PathLength = cursor.getPath().Count; tp.DistanceRelative = cursor.getTotalDistance(); return(tp); }