Emgu.CV.Structure.LineSegment2DF.YByX C# (CSharp) Метод

YByX() публичный Метод

Obtain the Y value from the X value using first degree interpolation
public YByX ( float x ) : float
x float The X value
Результат float
        public float YByX(float x)
        {
            PointF p1 = _p1;
             PointF dir = Direction;
             return (x - p1.X) / dir.X * dir.Y + p1.Y;
        }