CCT.NUI.HandTracking.ShapeHandDataFactory.DetectFingerPoints C# (CSharp) Method

DetectFingerPoints() private method

private DetectFingerPoints ( Shape shape ) : IList
shape CCT.NUI.Core.Shape.Shape
return IList
        private IList<FingerPoint> DetectFingerPoints(Shape shape)
        {
            if (!this.settings.DetectFingers)
            {
                return new List<FingerPoint>();
            }

            var result = this.fingerPointDetector.FindFingerPoints(shape.Contour, shape.ConvexHull)
                .Where(i => i.Location.Y <= shape.Location.Y).ToList();

            return result;
        }
    }