Methods
(static) checkControlPoint(controlPoint, startPoint, endPoint, minDistance, minAngle, maxAngle)
Returns true if the provided control point candidate is valid.
Parameters:
Name | Type | Description |
---|---|---|
controlPoint |
The control point candidate to be checked. | |
startPoint |
The start point of the bezier curve. | |
endPoint |
The start point of the bezier curve. | |
minDistance |
Minimum distance between the control point and the start/end point. | |
minAngle |
Minimum angle of the control point. | |
maxAngle |
Maximum angle of the control point. |