CURELab.SignLanguage.HandDetector.PointHelper.DistanceTo C# (CSharp) Method

DistanceTo() public static method

public static DistanceTo ( this p1, Point p2 ) : float
p1 this
p2 System.Drawing.Point
return float
        public static float DistanceTo(this Point p1, Point p2)
        {
            return (float)Math.Sqrt((p1.X - p2.X) * (p1.X - p2.X) + (p1.Y - p2.Y) * (p1.Y - p2.Y));
        }

Same methods

PointHelper::DistanceTo ( this p1, PointF p2 ) : float