C# Class Grafiti.GestureRecognizers.LazoGR

Inheritance: Grafiti.GlobalGestureRecognizer
Show file Open project: nuigroup/grafiti

Public Methods

Method Description
LazoGR ( ) : System
LazoGR ( GRConfiguration configuration ) : System
PointInPath ( float x, float y, Trace trace ) : bool

Determine if a point is inside the polygon described by the trace. Thanks to Daniel Kuppitz who posted a message with the code in a forum.

Process ( List traces ) : void

Method Details

LazoGR() public method

public LazoGR ( ) : System
return System

LazoGR() public method

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

PointInPath() public static method

Determine if a point is inside the polygon described by the trace. Thanks to Daniel Kuppitz who posted a message with the code in a forum.
public static PointInPath ( float x, float y, Trace trace ) : bool
x float X coordinate of the point.
y float Y coordinate of the point.
trace Trace The trace describing the polygon.
return bool

Process() public method

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