GH_GraphicsUtilBoxFurthestPoint Method (PointF, RectangleF) |
Find the furthest point on or in a box given a test point.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static PointF BoxFurthestPoint(
PointF pt,
RectangleF box
)
Public Shared Function BoxFurthestPoint (
pt As PointF,
box As RectangleF
) As PointF
Parameters
- pt
- Type: System.DrawingPointF
Sample point. - box
- Type: System.DrawingRectangleF
Box to evaluate.
Return Value
Type:
PointFSee Also