You are here: Start » AVL.NET » Invoke.JoinAdjacentPaths
Joins those paths of an array which endpoints lie near enough.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void JoinAdjacentPaths ( List<Avl.Path> inPaths, float inMaxDistance, float inMaxAngle, Optional<float> inMaxDeviation, float inExcessTrim, Optional<float> inEndingLength, Avl.PathJoiningMethod inJoiningMethod, Avl.PathJoiningAngleMeasure inAngleMeasure, bool inIgnorePathEndsOrder, bool inAllowCycles, float inMinPathLength, List<Avl.Path> outPaths, Optional<List<Avl.Path>> outMatchedPieces )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPaths | System.Collections.Generic.List<Avl.Path> | |||
![]()  | inMaxDistance | float | <0.0f, INF> | 10.0f | Maximal distance between paths that can be joined. Default value: 10.0f. | 
![]()  | inMaxAngle | float | <0.0f, 180.0f> | 30.0f | Maximal allowed angle between paths being joined. Default value: 30.0f. | 
![]()  | inMaxDeviation | Atl.Optional<float> | <0.0f, INF> | Maximal allowed thickness of a minimal stripe containing both paths being joined. Default value: atl::NIL. | |
![]()  | inExcessTrim | float | <0.0f, INF> | Length of the part of each path to be removed from its both sides. | |
![]()  | inEndingLength | Atl.Optional<float> | <0.0f, INF> | 0.0f | Determines the length of the path end used for path angle computing. Default value: 0.0f. | 
![]()  | inJoiningMethod | Avl.PathJoiningMethod | AddBridge | Determines a method to join two paths in one. Default value: AddBridge. | |
![]()  | inAngleMeasure | Avl.PathJoiningAngleMeasure | InputPathOrientation | Determines a method to measure the angle between two input paths. Default value: InputPathOrientation. | |
![]()  | inIgnorePathEndsOrder | bool | True | If set to false, only the end of a path can be joined with the begin of another path. Default value: True. | |
![]()  | inAllowCycles | bool | True | Determines if cycles can be created during joining process. Default value: True. | |
![]()  | inMinPathLength | float | <0.0f, INF> | 0.0f | Minimal length of a path. Default value: 0.0f. | 
![]()  | outPaths | System.Collections.Generic.List<Avl.Path> | |||
![]()  | outMatchedPieces | Atl.Optional<System.Collections.Generic.List<Avl.Path>> | Input paths that have been joined with another path. | 


