C# Class Grafiti.GestureRecognizers.CircleGR

Circle recognizer. The gesture can be made by one or more traces (starting and ending in a synchronized way, relatively to GROUPING_SYNCH_TIME). The algorythm will indistinctly recognize round paths covering the shape of a circonference (even passing more times on the same section). However the first and the last point of the path must be close to each other. A "bug" makes the GR to recognize as a circle also a 'C' if the path is closed enough (not much), and such that the extremes of the path are close to each other (you must draw the letter twice: forward and backward).
Inheritance: Grafiti.GlobalGestureRecognizer
显示文件 Open project: nuigroup/grafiti

Public Methods

Method Description
CircleGR ( ) : System
CircleGR ( GRConfiguration configuration ) : System
Process ( List traces ) : void

Private Methods

Method Description
OnCircle ( int n, float x, float y, float r ) : void

Method Details

CircleGR() public method

public CircleGR ( ) : System
return System

CircleGR() public method

public CircleGR ( GRConfiguration configuration ) : System
configuration Grafiti.GRConfiguration
return System

Process() public method

public Process ( List traces ) : void
traces List
return void