Declaration

func GSFitCurveToOriginPointsDirection(
    _ fitPoints: UnsafeMutablePointer<NSPoint>,
    _ originPoints: UnsafePointer<NSPoint>,
    _ originDirections: UnsafePointer<NSPoint>?,
    _ count: UInt16,
    _ curveError: UnsafeMutablePointer<CGFloat>?
) -> Bool

Declaration

BOOL GSFitCurveToOriginPointsDirection(
    NSPoint fitPoints[4],
    const NSPoint *originPoints,
    const NSPoint *originDirections,
    const unsigned short count,
    CGFloat *curveError
);

Declaration

GSFitCurveToOriginPointsDirection(
    fitPoints: NSPoint,
    originPoints: NSPoint,
    originDirections: NSPoint,
    count: unsigned short,
    curveError: float
) -> bool

See Also

Curve Parameters and Solvers