Function
GSCurvatureSquaredForT(_:_:_:_:_:) GSCurvatureSquaredForTGSCurvatureSquaredForT
Declaration
func GSCurvatureSquaredForT(_ P1: NSPoint, _ P2: NSPoint, _ P3: NSPoint, _ P4: NSPoint, _ t: CGFloat) -> CGFloatDeclaration
CGFloat GSCurvatureSquaredForT(NSPoint P1, NSPoint P2, NSPoint P3, NSPoint P4, CGFloat t);Declaration
GSCurvatureSquaredForT(P1: NSPoint, P2: NSPoint, P3: NSPoint, P4: NSPoint, t: float) -> floatSee 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.