You are here: Start » AVL.NET » AVL.PathToPointDistanceProfile(AvlNet.Point2D, AvlNet.Path, float, AvlNet.Profile, float[], AvlNet.Segment2D[])
AVL.PathToPointDistanceProfile(AvlNet.Point2D, AvlNet.Path, float, AvlNet.Profile, float[], AvlNet.Segment2D[])
Computes the profile of distances between the specified point and the characteristic points of a path.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void PathToPointDistanceProfile( AvlNet.Point2D inPoint, AvlNet.Path inPath, float inResolution, out AvlNet.Profile outDistanceProfile, out float[] outDistances, out AvlNet.Segment2D[] outConnectingSegments )
Parameters
- inPoint
- Type: AvlNet.Point2D
Input point - inPath
- Type: AvlNet.Path
Input path - inResolution
- Type: System.Single
- outDistanceProfile
- Type: AvlNet.Profile
Profile of distances between input point and consecutive points of input path - outDistances
- Type: System.Single
- outConnectingSegments
- Type: AvlNet.Segment2D
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. |


