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) -> list

Parameters

p1

Start point of the curve.

p2

First offcurve point of the curve.

p3

Second offcurve point of the curve.

p4

End point of the curve.

a1

First point of the line.

a2

Second point of the line.

Return Value

An NSArray of point values for all intersections.

See Also

Intersections