Line2d.ProjectHorizontal Method
Computes the x position on a line for a given y. If the line is horizontal, x parameter is not changed,
and the function returns false.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
y
-
double
The y to compute for.
-
x
-
double
X position on line or unchanged if the line is horizontal.
Return Value
bool
true if a new x value could be computed, otherwise false (which means the line is horizontal)
.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