You are here: Start » FIL.NET » FIS.PointToRectangleDistance Method
FIS.PointToRectangleDistance Method
Measures the distance between point and rectangle.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void PointToRectangleDistance ( FilNet.Point2D inPoint, FilNet.Rectangle2D inRectangle, float inResolution, bool inIsFilled, out float outDistance, out FilNet.Segment2D? outConnectingSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | FilNet.Point2D | |||
![]() | inRectangle | FilNet.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 | FilNet.Segment2D? |