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