C# Класс CURELab.SignLanguage.HandDetector.PointHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AngleBetween() публичный статический Метод

public static AngleBetween ( this p1, PointF p2 ) : float
p1 this
p2 System.Drawing.PointF
Результат float

DistanceTo() публичный статический Метод

public static DistanceTo ( this p1, Point p2 ) : float
p1 this
p2 System.Drawing.Point
Результат float

DistanceTo() публичный статический Метод

public static DistanceTo ( this p1, PointF p2 ) : float
p1 this
p2 System.Drawing.PointF
Результат float

Dotproduct() публичный статический Метод

public static Dotproduct ( this p1, PointF p2 ) : float
p1 this
p2 System.Drawing.PointF
Результат float

GetBoundingRectangle() публичный статический Метод

public static GetBoundingRectangle ( this ps ) : Rectangle
ps this
Результат System.Drawing.Rectangle

GetCenter() публичный статический Метод

public static GetCenter ( this p ) : Point
p this
Результат System.Drawing.Point

GetCenter() публичный статический Метод

public static GetCenter ( this p ) : PointF
p this
Результат System.Drawing.PointF

GetPoints() публичный статический Метод

public static GetPoints ( this r ) : Point[]
r this
Результат Point[]

GetRectArea() публичный статический Метод

public static GetRectArea ( this rect ) : int
rect this
Результат int

GetTrueArea() публичный статический Метод

public static GetTrueArea ( this rec ) : float
rec this
Результат float

GetXCenter() публичный статический Метод

public static GetXCenter ( this rect ) : int
rect this
Результат int

GetYCenter() публичный статический Метод

public static GetYCenter ( this rect ) : int
rect this
Результат int

IsCloseTo() публичный статический Метод

public static IsCloseTo ( this r1, Rectangle r2, int minDis = 5 ) : bool
r1 this
r2 System.Drawing.Rectangle
minDis int
Результат bool

Length() публичный статический Метод

public static Length ( this p ) : float
p this
Результат float

RealTanWith() публичный статический Метод

public static RealTanWith ( this p1, Point p2 ) : float
p1 this
p2 System.Drawing.Point
Результат float

Tan() публичный статический Метод

public static Tan ( this p ) : float
p this
Результат float

TanWith() публичный статический Метод

public static TanWith ( this p1, Point p2 ) : float
p1 this
p2 System.Drawing.Point
Результат float

ToCvBox2D() публичный статический Метод

public static ToCvBox2D ( this r ) : MCvBox2D
r this
Результат MCvBox2D

ToPoint() публичный статический Метод

public static ToPoint ( this p ) : System.Drawing.System.Drawing.Point
p this
Результат System.Drawing.System.Drawing.Point

ToPoints() публичный статический Метод

public static ToPoints ( this p ) : System.Drawing.Point[]
p this
Результат System.Drawing.Point[]

add() публичный статический Метод

public static add ( this p1, PointF p2 ) : PointF
p1 this
p2 System.Drawing.PointF
Результат System.Drawing.PointF