Home | History | Annotate | Download | only in gesture

Lines Matching refs:pts

73         float[] pts;
76 pts = temporalSampler(orientationType, gesture);
77 instance = new Instance(gesture.getID(), pts, label);
80 pts = spatialSampler(gesture);
81 instance = new Instance(gesture.getID(), pts, label);
91 float[] pts = GestureUtils.temporalSampling(gesture.getStrokes().get(0),
93 float[] center = GestureUtils.computeCentroid(pts);
94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]);
107 GestureUtils.translate(pts, -center[0], -center[1]);
108 GestureUtils.rotate(pts, adjustment);
110 return pts;