You are here: Start » AVL.NET » AVL.PathToPathMaximumDistance
Computes the distance between the farthest point of the input path from the other path.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PathToPathMaximumDistance ( AvlNet.Path inPath1, AvlNet.Path inPath2, AvlNet.PathDistanceMode inPathDistanceMode, float inResolution, out float outDistance )
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 | Distance between farthest point of the input path the other input path. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | One or both input paths are empty in PathToPathMaximumDistance. |