Calc.GetX Method

Calculates the X-coordinate of a line defined by a,b at y.
Public Shared Function GetX( _ 
ByVal a As Point2d, _ 
ByVal b As Point2d, _ 
ByVal y As Double
) As Double
This language is not supported or no code example is available.
public static double GetX( 
Point2d a
Point2d b
double y 
)
This language is not supported or no code example is available.
public:  
static double GetX( 
Point2d^ a
Point2d^ b
double y 
)
This language is not supported or no code example is available.
public static function GetX( 
a : Point2d
b : Point2d
y : double 
) : double;
This language is not supported or no code example is available.

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