Calc.GetX Method

Calculates the X-coordinate of a line defined by a,b at y.
public static double GetX( 
   Point2d a
   Point2d b
   double y 
)

Parameters

a
Point2d

First point on line.

b
Point2d

Second point on line.

y
double

The Y-coord to find x for.

Return Value

double

The X coordinate for the given y.

.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