solveYValueFromXValue method

double solveYValueFromXValue(
  1. double xVal
)

Computes the y coordinate of a point on the curve given its x coordinate. @param {number} xVal The x coordinate of the point on the curve. @return {number} The y coordinate of the point on the curve.

Implementation

double solveYValueFromXValue(double xVal)
{
  return getPointY( solvePositionFromXValue(xVal) );
}