You are here: Start » FIL.NET » Function Reference » Path » Path Metrics » FIL.PathToPointDistanceProfile
Computes the profile of distances between the specified point and the characteristic points of a path.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void PathToPointDistanceProfile ( FilNet.Point2D inPoint, FilNet.Path inPath, float inResolution, FilNet.Profile outDistanceProfile, NullableRef<List<float>> outDistances, NullableRef<List<FilNet.Segment2D>> outConnectingSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | FilNet.Point2D | Input point. | ||
![]() | inPath | FilNet.Path | Input path. | ||
![]() | inResolution | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | outDistanceProfile | FilNet.Profile | Profile of distances between input point and consecutive points of input path. | ||
![]() | outDistances | FilNet.NullableRef<System.Collections.Generic.List<float>> | Distances between input point and consecutive points of input path. Can be null to skip this parameter calculation. | ||
![]() | outConnectingSegments | FilNet.NullableRef<System.Collections.Generic.List<FilNet.Segment2D>> | Segments connecting input point and consecutive points of input path. Can be null to skip this parameter calculation. |
Description
The operation iterates over characteristic points of inPath and at each point computes the distance from this point to inPoint. The operation computes outDistanceProfile profile of consecutive distances and, additionally, the outConnectingSegments array of corresponding line segments.
Examples
![]() |
![]() |
The resulting outConnectingSegments drawn onto the input data. |
The resulting outDistanceProfile. |