C# 클래스 Kinect.Toolbox.Tools

파일 보기 프로젝트 열기: NIAEFEUP/Kommando

공개 메소드들

메소드 설명
ConvertSkeletonPointToScreen ( Microsoft.Kinect.KinectSensor sensor, Microsoft.Kinect.SkeletonPoint position ) : Vector2

This utility method converts a skeleton point to a 2D space vector.

IsPolygonColliding ( Polygon p1, Polygon p2 ) : bool

Detects collisions between two polygons.

비공개 메소드들

메소드 설명
ComputeDterminant ( Vector vector1, Vector vector2 ) : double

Computes the determinant of two vectors.

IsPointInCollection ( PointCollection area, System.Point point ) : bool

Determines if a point is contained inside an area.

IsSegmentIntersecting ( System.Point seg1Start, System.Point seg1End, System.Point seg2Start, System.Point seg2End ) : bool

Determines if two line segments intersect each other.

메소드 상세

ConvertSkeletonPointToScreen() 공개 정적인 메소드

This utility method converts a skeleton point to a 2D space vector.
public static ConvertSkeletonPointToScreen ( Microsoft.Kinect.KinectSensor sensor, Microsoft.Kinect.SkeletonPoint position ) : Vector2
sensor Microsoft.Kinect.KinectSensor Kinect sensor
position Microsoft.Kinect.SkeletonPoint Position of the joint
리턴 Vector2

IsPolygonColliding() 공개 정적인 메소드

Detects collisions between two polygons.
public static IsPolygonColliding ( Polygon p1, Polygon p2 ) : bool
p1 Polygon First polygon
p2 Polygon Second polygon
리턴 bool