You are here: Start » AVL.NET » AVS.PathToPathDistanceProfile Method
AVS.PathToPathDistanceProfile Method
Computes the profile of distances between two paths.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void PathToPathDistanceProfile ( AvlNet.Path inPath1, AvlNet.Path inPath2, AvlNet.PathDistanceMode inPathDistanceMode, float inResolution, AvlNet.Profile outDistanceProfile, NullableRef<List<float>> outDistances, NullableRef<List<AvlNet.Segment2D>> outConnectingSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath1 | AvlNet.Path | First input path. | |||
inPath2 | AvlNet.Path | Second input path. | |||
inPathDistanceMode | AvlNet.PathDistanceMode | Distance measuring method. | |||
inResolution | float | <0.0f, INF> | 1.0f | Default value: 1.0f. | |
outDistanceProfile | AvlNet.Profile | Profile of distances between second path and consecutive points of first path. | |||
outDistances | AvlNet.NullableRef<System.Collections.Generic.List<float>> | Distances between second path and consecutive points of first path. Can be null to skip this parameter calculation. | |||
outConnectingSegments | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Segment2D>> | Segments connecting second path and consecutive points of first path having minimal length. Can be null to skip this parameter calculation. |