The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function WithinRect (Point: TPointDouble; BoundRect: TRectDouble): boolean;

The function WithinRect checks whether the point Point is within the rectangle BoundRect. It returns a TRUE value if the point lies within the bouding rectangle. The left and the right boundaries, and the top and the bottom boundaries may be interchanged without affecting the result.

Last Update: 2015-Feb-27