You are here: Start » AVL.NET » AVS.PathToPathDistance Method
AVS.PathToPathDistance Method
Computes the minimum distance between two paths.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void PathToPathDistance ( AvlNet.Path inPath1, AvlNet.Path inPath2, AvlNet.PathDistanceMode inPathDistanceMode, float inResolution, out float outDistance, out AvlNet.Segment2D outConnectingSegment )
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. | |
outDistance | float | Minimal distance between input paths. | |||
outConnectingSegment | AvlNet.Segment2D | Segment connecting input paths having minimal length. |
Function Overrides
- PathToPathDistance(Path, Path, PathDistanceMode, Single, Single)
- PathToPathDistance(Path, Path, PathDistanceMode, Single, Single, NullableValue<Segment2D>)