LineIntersectsWithRect

LineIntersectsWithRect checks if the specified line intersects with the spceified rectangle. The routine will return true if the line intersects with the rectangle.

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

 * LineSegment
 * Rectangle
 * GetLineIntersectionPoint
 * LineIntersectsWithLines