Function
GSIntersectCubicLine(_:_:_:_:_:_:) GSIntersectCubicLineGSIntersectCubicLine
Deprecated
Finds all intersections between a curve and a line.
Declaration
func GSIntersectCubicLine(_ p1: NSPoint, _ p2: NSPoint, _ p3: NSPoint, _ p4: NSPoint, _ a1: NSPoint, _ a2: NSPoint) -> [Any]?Declaration
NSArray *GSIntersectCubicLine(NSPoint p1, NSPoint p2, NSPoint p3, NSPoint p4, NSPoint a1, NSPoint a2);Declaration
GSIntersectCubicLine(p1: NSPoint, p2: NSPoint, p3: NSPoint, p4: NSPoint, a1: NSPoint, a2: NSPoint) -> listParameters
p1Start point of the curve.
p2First offcurve point of the curve.
p3Second offcurve point of the curve.
p4End point of the curve.
a1First point of the line.
a2Second point of the line.
Return Value
An NSArray of point values for all intersections.