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