Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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.
|
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 |
Résultat | Vector2 |
public static IsPolygonColliding ( Polygon p1, Polygon p2 ) : bool | ||
p1 | Polygon | First polygon |
p2 | Polygon | Second polygon |
Résultat | bool |