C# Class CURELab.SignLanguage.HandDetector.PointHelper

Show file Open project: huangfuyang/Sign-Language-with-Kinect

Public Methods

Method Description
AngleBetween ( this p1, PointF p2 ) : float
DistanceTo ( this p1, Point p2 ) : float
DistanceTo ( this p1, PointF p2 ) : float
Dotproduct ( this p1, PointF p2 ) : float
GetBoundingRectangle ( this ps ) : Rectangle
GetCenter ( this p ) : Point
GetCenter ( this p ) : PointF
GetPoints ( this r ) : Point[]
GetRectArea ( this rect ) : int
GetTrueArea ( this rec ) : float
GetXCenter ( this rect ) : int
GetYCenter ( this rect ) : int
IsCloseTo ( this r1, Rectangle r2, int minDis = 5 ) : bool
Length ( this p ) : float
RealTanWith ( this p1, Point p2 ) : float
Tan ( this p ) : float
TanWith ( this p1, Point p2 ) : float
ToCvBox2D ( this r ) : MCvBox2D
ToPoint ( this p ) : System.Drawing.System.Drawing.Point
ToPoints ( this p ) : System.Drawing.Point[]
add ( this p1, PointF p2 ) : PointF

Method Details

AngleBetween() public static method

public static AngleBetween ( this p1, PointF p2 ) : float
p1 this
p2 System.Drawing.PointF
return float

DistanceTo() public static method

public static DistanceTo ( this p1, Point p2 ) : float
p1 this
p2 System.Drawing.Point
return float

DistanceTo() public static method

public static DistanceTo ( this p1, PointF p2 ) : float
p1 this
p2 System.Drawing.PointF
return float

Dotproduct() public static method

public static Dotproduct ( this p1, PointF p2 ) : float
p1 this
p2 System.Drawing.PointF
return float

GetBoundingRectangle() public static method

public static GetBoundingRectangle ( this ps ) : Rectangle
ps this
return System.Drawing.Rectangle

GetCenter() public static method

public static GetCenter ( this p ) : Point
p this
return System.Drawing.Point

GetCenter() public static method

public static GetCenter ( this p ) : PointF
p this
return System.Drawing.PointF

GetPoints() public static method

public static GetPoints ( this r ) : Point[]
r this
return Point[]

GetRectArea() public static method

public static GetRectArea ( this rect ) : int
rect this
return int

GetTrueArea() public static method

public static GetTrueArea ( this rec ) : float
rec this
return float

GetXCenter() public static method

public static GetXCenter ( this rect ) : int
rect this
return int

GetYCenter() public static method

public static GetYCenter ( this rect ) : int
rect this
return int

IsCloseTo() public static method

public static IsCloseTo ( this r1, Rectangle r2, int minDis = 5 ) : bool
r1 this
r2 System.Drawing.Rectangle
minDis int
return bool

Length() public static method

public static Length ( this p ) : float
p this
return float

RealTanWith() public static method

public static RealTanWith ( this p1, Point p2 ) : float
p1 this
p2 System.Drawing.Point
return float

Tan() public static method

public static Tan ( this p ) : float
p this
return float

TanWith() public static method

public static TanWith ( this p1, Point p2 ) : float
p1 this
p2 System.Drawing.Point
return float

ToCvBox2D() public static method

public static ToCvBox2D ( this r ) : MCvBox2D
r this
return MCvBox2D

ToPoint() public static method

public static ToPoint ( this p ) : System.Drawing.System.Drawing.Point
p this
return System.Drawing.System.Drawing.Point

ToPoints() public static method

public static ToPoints ( this p ) : System.Drawing.Point[]
p this
return System.Drawing.Point[]

add() public static method

public static add ( this p1, PointF p2 ) : PointF
p1 this
p2 System.Drawing.PointF
return System.Drawing.PointF