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