You are here: Start » FIL.NET » FIL.FitSegmentToEdges3D
Performs a series of 1D edge detections and finds a segment that best matches the detected points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void FitSegmentToEdges3D ( FilNet.Surface inSurface, FilNet.SegmentFittingMap inFittingMap, FilNet.EdgeScanParams3D inEdgeScanParams, FilNet.Selection inEdgeSelection, float inMaxIncompleteness, INullable<FilNet.Segment3D> outSegment, NullableRef<List<FilNet.SurfaceEdge1D?>> outEdges, NullableRef<NullableRef<FilNet.Profile>> outDeviationProfile, NullableRef<List<FilNet.Point3D>> outInliers )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Surface to fit segment to. | ||
![]() | inFittingMap | FilNet.SegmentFittingMap | Input fitting map. | ||
![]() | inEdgeScanParams | FilNet.EdgeScanParams3D | Parameters controlling the edge extraction process. | ||
![]() | inEdgeSelection | FilNet.Selection | fil::Selection::Best | Selection mode of edges. Default value: fil::Selection::Best. | |
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found. Default value: 0.1f. |
![]() | outSegment | FilNet.INullable<FilNet.Segment3D> | Fitted segment or nothing if the fitting fails. This parameter cannot be null. | ||
![]() | outEdges | FilNet.NullableRef<System.Collections.Generic.List<FilNet.SurfaceEdge1D?>> | Found edges. Can be null to skip this parameter calculation. | ||
![]() | outDeviationProfile | FilNet.NullableRef<FilNet.NullableRef<FilNet.Profile>> | Profile of distances between the actual segment points and the corresponding reference segment points. Can be null to skip this parameter calculation. | ||
![]() | outInliers | FilNet.NullableRef<System.Collections.Generic.List<FilNet.Point3D>> | Points matching the fitting segment. Can be null to skip this parameter calculation. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Function Overrides
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Single, INullable<Segment3D>)
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Single, INullable<Segment3D>, IList<Profile>, IList<Profile>)
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>)
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>, IList<Profile>, IList<Profile>)
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Single, INullable<Segment3D>, NullableRef<List<Nullable<SurfaceEdge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<List<Point3D>>, IList<Profile>, IList<Profile>)
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>, NullableRef<List<Nullable<SurfaceEdge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<List<Point3D>>)
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>, IList<Nullable<SurfaceEdge1D>>, INullable<Profile>, IList<Point3D>, IList<Profile>, IList<Profile>)
- FitSegmentToEdges3D(Surface, SegmentFittingMap, EdgeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>, NullableRef<List<Nullable<SurfaceEdge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<List<Point3D>>, IList<Profile>, IList<Profile>)