Function
GSPointOffsetAtAngle(_:_:_:) GSPointOffsetAtAngleGSPointOffsetAtAngle
Returns a new point offset by the given distance in the direction of the given angle in radiants.
Declaration
func GSPointOffsetAtAngle(_ p: NSPoint, _ offset: CGFloat, _ angle: CGFloat) -> NSPointDeclaration
NSPoint GSPointOffsetAtAngle(NSPoint p, CGFloat offset, CGFloat angle);Declaration
GSPointOffsetAtAngle(p: NSPoint, offset: float, angle: 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.