Function
GSComputeInflectionTimes(_:_:_:_:_:_:) GSComputeInflectionTimesGSComputeInflectionTimes
Declaration
func GSComputeInflectionTimes(_ p1: NSPoint, _ p2: NSPoint, _ p3: NSPoint, _ p4: NSPoint, _ t: UnsafeMutablePointer<CGFloat>, _ count: UnsafeMutablePointer<Int32>)Declaration
void GSComputeInflectionTimes(NSPoint p1, NSPoint p2, NSPoint p3, NSPoint p4, CGFloat t[2], int *count);Declaration
GSComputeInflectionTimes(p1: NSPoint, p2: NSPoint, p3: NSPoint, p4: NSPoint, t: float, count: int)See Also
Inflections, Curvature, and Normals
Use this function as compared to
curvatureSquaredForTif you compute the square root of the result anyway or if you need to know the sign of the curvature.