You are here: Start » AVL.NET » AVS.FitPathToEdges3D Method
AVS.FitPathToEdges3D Method
Performs a series of 1D edge detections and creates a path from the detected points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void FitPathToEdges3D ( AvlNet.Surface inSurface, AvlNet.PathFittingMap inFittingMap, AvlNet.EdgeScanParams3D inEdgeScanParams, AvlNet.Selection inEdgeSelection, AvlNet.LocalBlindness? inLocalBlindness, int? inMaxProfileGapWidth, int? inMaxPathInterpolationLength, float? inMaxDeviationDelta, float inMaxIncompleteness, INullable<List<AvlNet.Point3D>> outPath, NullableRef<List<AvlNet.SurfaceEdge1D?>> outEdges, NullableRef<NullableRef<AvlNet.Profile>> outDeviationProfile, NullableRef<SafeList<AvlNet.Profile>> outHeightProfiles, NullableRef<SafeList<AvlNet.Profile>> outResponseProfiles, NullableRef<NullableRef<List<AvlNet.Segment3D>>> outPathSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Surface to fit the path to. | |||
inFittingMap | AvlNet.PathFittingMap | Input fitting map. | |||
inEdgeScanParams | AvlNet.EdgeScanParams3D | Parameters controlling the edge extraction process. | |||
inEdgeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of edges. Default value: avl::Selection::Best. | ||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | |||
inMaxProfileGapWidth | int? | <0, INF> | 1 | Maximal number of consecutive not existing profile points. Default value: 1. | |
inMaxPathInterpolationLength | int? | Maximal number of consecutive points not found. Default value: atl::NIL. | |||
inMaxDeviationDelta | 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 | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Point3D>> | Fitted path or nothing if the fitting failed. This parameter cannot be null. | |||
outEdges | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.SurfaceEdge1D?>> | Found edges. Can be null to skip this parameter calculation. | |||
outDeviationProfile | AvlNet.NullableRef<AvlNet.NullableRef<AvlNet.Profile>> | Profile of distances between the actual path points and the corresponding reference path points. Can be null to skip this parameter calculation. | |||
outHeightProfiles | AvlNet.NullableRef<AvlNet.SafeList<AvlNet.Profile>> | Extracted surface height profiles. Can be null to skip this parameter calculation. | |||
outResponseProfiles | AvlNet.NullableRef<AvlNet.SafeList<AvlNet.Profile>> | Profiles of the edge (derivative) operator response. Can be null to skip this parameter calculation. | |||
outPathSegments | AvlNet.NullableRef<AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Segment3D>>> | Segments of the fitted path or nothing if the fitting failed. Can be null to skip this parameter calculation. |
Function Overrides
- FitPathToEdges3D(Surface, PathFittingMap, EdgeScanParams3D, Selection, Single, INullable<List<Point3D>>)
- FitPathToEdges3D(Surface, PathFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Single, INullable<List<Point3D>>)
- FitPathToEdges3D(Surface, PathFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Int32>, Nullable<Single>, Single, INullable<List<Point3D>>, IList<Nullable<SurfaceEdge1D>>, INullable<Profile>, IList<Profile>, IList<Profile>, INullable<List<Segment3D>>)