You are here: Start » AVL.NET » Invoke.FitPathToEdges3D
Performs a series of 1D edge detections and creates a path from the detected points.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void FitPathToEdges3D ( Avl.Surface inSurface, Avl.PathFittingMap inFittingMap, Avl.EdgeScanParams3D inEdgeScanParams, Avl.Selection inEdgeSelection, Optional<Avl.LocalBlindness> inLocalBlindness, Optional<int> inMaxProfileGapWidth, Optional<int> inMaxPathInterpolationLength, Optional<float> inMaxDeviationDelta, float inMaxIncompleteness, Conditional<List<Avl.Point3D>> outPath, Optional<List<Conditional<Avl.SurfaceEdge1D>>> outEdges, Optional<Conditional<Avl.Profile>> outDeviationProfile, Optional<List<Avl.Profile>> outHeightProfiles, Optional<List<Avl.Profile>> outResponseProfiles, Optional<Conditional<List<Avl.Segment3D>>> outPathSegments )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSurface | Avl.Surface | Surface to fit the path to. | ||
![]()  | inFittingMap | Avl.PathFittingMap | Input fitting map. | ||
![]()  | inEdgeScanParams | Avl.EdgeScanParams3D | Parameters controlling the edge extraction process. | ||
![]()  | inEdgeSelection | Avl.Selection | avl::Selection::Best | Selection mode of edges. Default value: avl::Selection::Best. | |
![]()  | inLocalBlindness | Atl.Optional<Avl.LocalBlindness> | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | ||
![]()  | inMaxProfileGapWidth | Atl.Optional<int> | <0, INF> | 1 | Maximal number of consecutive not existing profile points. Default value: 1. | 
![]()  | inMaxPathInterpolationLength | Atl.Optional<int> | Maximal number of consecutive points not found. Default value: atl::NIL. | ||
![]()  | inMaxDeviationDelta | Atl.Optional<float> | <0.0f, INF> | Maximal difference between deviations of consecutive path points. Default value: atl::NIL. | |
![]()  | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found. Default value: 0.1f. | 
![]()  | outPath | Atl.Conditional<System.Collections.Generic.List<Avl.Point3D>> | Fitted path or nothing if the fitting failed. | ||
![]()  | outEdges | Atl.Optional<System.Collections.Generic.List<Atl.Conditional<Avl.SurfaceEdge1D>>> | Found edges. | ||
![]()  | outDeviationProfile | Atl.Optional<Atl.Conditional<Avl.Profile>> | Profile of distances between the actual path points and the corresponding reference path points. | ||
![]()  | outHeightProfiles | Atl.Optional<System.Collections.Generic.List<Avl.Profile>> | Extracted surface height profiles. | ||
![]()  | outResponseProfiles | Atl.Optional<System.Collections.Generic.List<Avl.Profile>> | Profiles of the edge (derivative) operator response. | ||
![]()  | outPathSegments | Atl.Optional<Atl.Conditional<System.Collections.Generic.List<Avl.Segment3D>>> | Segments of the fitted path or nothing if the fitting failed. | 


