# TMCBezierCurve Class Reference
[Data Structures]

Inheritance diagram for TMCBezierCurve:

List of all members.

## Public Member Functions
real32 | GetYPos (real32 XPos)
int32 | SubdivideXYPath (real32 XPos)
## Protected Member Functions
real32 | GetYRecsWithDichotomizedLambda (real32 pathPos, TMCLocationRec *&rec, TMCLocationRec *&nextRec, int32 *recIndex)
real32 | GetYRecs (real32 pathPos, TMCLocationRec *&rec, TMCLocationRec *&nextRec, int32 *recIndex)

## Detailed Description

A 2D Bezier curve in XY ( Z is not used here ). The Bezier segment don't overlap themselves in X ( could be written Y=f(X) ).

## Member Function Documentation

real32 TMCBezierCurve::GetYPos | ( | real32 | XPos | ) |

Get Y value

real32 TMCBezierCurve::GetYRecs | ( | real32 | pathPos,
|  | TMCLocationRec *& | rec,
|  | TMCLocationRec *& | nextRec,
|  | int32 * | recIndex |
| ) |  |  | `[protected]`

real32 TMCBezierCurve::GetYRecsWithDichotomizedLambda | ( | real32 | pathPos,
|  | TMCLocationRec *& | rec,
|  | TMCLocationRec *& | nextRec,
|  | int32 * | recIndex |
| ) |  |  | `[protected]`

int32 TMCBezierCurve::SubdivideXYPath | ( | real32 | XPos | ) |

Add point. Return index of the new point

The documentation for this class was generated from the following file:

- MCBezierPath.h