You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Distance Metrics » FIL.PointToCircleDistance
Measures the distance between a point and a circle.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void PointToCircleDistance ( FilNet.Point2D inPoint, FilNet.Circle2D inCircle, float inResolution, out float outDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | FilNet.Point2D | |||
![]() | inCircle | FilNet.Circle2D | |||
![]() | inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. |
![]() | outDistance | float |
Examples
![]() |
![]() |
PointToCircleDistance performed on a sample point and a sample circle. The green segment is the value of outConnectingSegment output.
Function Overrides
- PointToCircleDistance(Point2D, Circle2D, Single, Single, Segment2D)
- PointToCircleDistance(Point2D, Circle2D, Single, Single, NullableValue<Segment2D>)