Calc.GetY Method

Calculates the Y-coordinate of a line defined by a,b at x.
public static double GetY( 
   Point2d a
   Point2d b
   double x 
)

Parameters

a
Point2d

First point on line.

b
Point2d

Second point on line.

x
double

The X-coord to find y for.

Return Value

double

The Y coordinate for the given x.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition