You are here: Start » AVL.NET » Invoke.PointToRectangleDistance
Measures the distance between point and rectangle.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void PointToRectangleDistance ( Avl.Point2D inPoint, Avl.Rectangle2D inRectangle, float inResolution, bool inIsFilled, out float outDistance, Conditional<Avl.Segment2D> outConnectingSegment )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPoint | Avl.Point2D | |||
![]()  | inRectangle | Avl.Rectangle2D | |||
![]()  | inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | 
![]()  | inIsFilled | bool | True | Whether the rectangle is filled inside or not. Default value: True. | |
![]()  | outDistance | float | |||
![]()  | outConnectingSegment | Atl.Conditional<Avl.Segment2D> | 


