You are here: Start » AVL.NET » AVS.PathToPointDistanceProfile Method
AVS.PathToPointDistanceProfile Method
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, AvlNet.Profile outDistanceProfile, NullableRef<List<float>> outDistances, NullableRef<List<AvlNet.Segment2D>> outConnectingSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | Input point. | |||
inPath | AvlNet.Path | Input path. | |||
inResolution | float | <0.0f, INF> | 1.0f | Default value: 1.0f. | |
outDistanceProfile | AvlNet.Profile | Profile of distances between input point and consecutive points of input path. | |||
outDistances | AvlNet.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 | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Segment2D>> | Segments connecting input point and consecutive points of input path. Can be null to skip this parameter calculation. |