Line2d.GetX Method

Calculates the X value given Y. The line is considered infinite.
Public Function GetX( _ 
ByVal y As Double
) As Double
This language is not supported or no code example is available.
public double GetX( 
double y 
)
This language is not supported or no code example is available.
public:  
double GetX( 
double y 
)
This language is not supported or no code example is available.
public function GetX( 
y : double 
) : double;
This language is not supported or no code example is available.

Parameters

y
double

Y value.

Return Value

double

X value for Y on infinite line. If line is vertical DX=0 returns p1.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