getCurveIntersectionPoint

fun getCurveIntersectionPoint(curvePoints: List<Offset>, yPointOfOrigin: Float): Offset

Used to get the intersection point between the curve and line

Parameters

curvePoints

: list of curve points

yPointOfOrigin

: y offset point on xAxis