Function
GSTangentOnCubicSegment(_:_:) GSTangentOnCubicSegment GSTangentOnCubicSegment
Declaration
func GSTangentOnCubicSegment(
_ curve: UnsafePointer<NSPoint>,
_ t: CGFloat
) -> NSPointDeclaration
NSPoint GSTangentOnCubicSegment(
const NSPoint curve[4],
const CGFloat t
);Declaration
GSTangentOnCubicSegment(
curve: NSPoint,
t: float
) -> NSPointSee Also
Curve Evaluation and Tangents
Like
GSPointOnLine, but with the returned point offset by a certain amount onto a parallel line. So, more like the inverse ofGSNearestPointOnLine.Returns a new point offset by the given distance in the direction of the given angle in radiants.