TBox ========= TBox related methods ------------ TBox.NearestEdge ~~~~~~~~~~~~~~~~ .. code-block:: pascal function TBox.NearestEdge(P: TPoint): TPoint; constref; Returns the closest edge point to the TPoint `P`. .. note:: by slacky ------------ TBox.Intersect ~~~~~~~~~~~~~~ .. code-block:: pascal function TBox.Intersect(P: TPoint): TPoint; constref; Returns the point on the edge where point `P` intersects with the edge when crossing to the mean of the box. ------------