Function
GSNormalCubicForT(_:_:_:_:_:) GSNormalCubicForTGSNormalCubicForT
Declaration
func GSNormalCubicForT(_ P1: NSPoint, _ P2: NSPoint, _ P3: NSPoint, _ P4: NSPoint, _ t: CGFloat) -> NSPointDeclaration
NSPoint GSNormalCubicForT(NSPoint P1, NSPoint P2, NSPoint P3, NSPoint P4, CGFloat t);Declaration
GSNormalCubicForT(P1: NSPoint, P2: NSPoint, P3: NSPoint, P4: NSPoint, t: float) -> NSPointSee 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.