Function
GSCubicHasInflection(_:_:_:_:) GSCubicHasInflectionGSCubicHasInflection
Declaration
func GSCubicHasInflection(_ p0: NSPoint, _ p1: NSPoint, _ p2: NSPoint, _ p3: NSPoint) -> BoolDeclaration
BOOL GSCubicHasInflection(NSPoint p0, NSPoint p1, NSPoint p2, NSPoint p3);Declaration
GSCubicHasInflection(p0: NSPoint, p1: NSPoint, p2: NSPoint, p3: NSPoint) -> boolSee 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.