Function
GSPointOnLine(_:_:_:) GSPointOnLineGSPointOnLine
Declaration
func GSPointOnLine(_ P0: NSPoint, _ P1: NSPoint, _ t: CGFloat) -> NSPointDeclaration
NSPoint GSPointOnLine(NSPoint P0, NSPoint P1, CGFloat t);Declaration
GSPointOnLine(P0: NSPoint, P1: 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.