VectorOutOfRectFromPoint

VectorOutOfRectFromPoint calculates and returns the vector required to move the specified point out of the specified rectangle. You will need to specify the movement vector of the point.

Pascal
Added in version 1.1:

C#
Added in version 1.1:

Visual Basic .NET
Added in version 1.1:

Visual Basic 6
Added in version 1.1:

Also See

 * Vector
 * Point2D
 * Rectangle
 * VectorOutOfRectFromRect
 * VectorOutOfCircleFromPoint
 * VectorOutOfCircleFromCircle