Function
GSComputeInflectionTimesTolerance(_:_:_:_:_:_:_:_:) GSComputeInflectionTimesToleranceGSComputeInflectionTimesTolerance
Declaration
func GSComputeInflectionTimesTolerance(_ p1: NSPoint, _ p2: NSPoint, _ p3: NSPoint, _ p4: NSPoint, _ tolerance: Double, _ offset: Double, _ t: UnsafeMutablePointer<CGFloat>, _ count: UnsafeMutablePointer<Int32>)Declaration
void GSComputeInflectionTimesTolerance(NSPoint p1, NSPoint p2, NSPoint p3, NSPoint p4, double tolerance, double offset, CGFloat t[2], int *count);Declaration
GSComputeInflectionTimesTolerance(p1: NSPoint, p2: NSPoint, p3: NSPoint, p4: NSPoint, tolerance: float, offset: float, 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.