You are here: Start » FIL.NET » Invoke.FitCircleToEdges3D
Performs a series of 1D edge detections and finds a circle that best matches the detected points.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitCircleToEdges3D ( Fil.Surface inSurface, Fil.CircleFittingMap inFittingMap, Fil.EdgeScanParams3D inEdgeScanParams, Fil.Selection inEdgeSelection, Optional<Fil.LocalBlindness> inLocalBlindness, Optional<int> inMaxProfileGapWidth, float inMaxIncompleteness, Fil.CircleFittingMethod inFittingMethod, Optional<Fil.MEstimator> inOutlierSuppression, Conditional<Fil.Circle3D> outCircle, Optional<List<Conditional<Fil.SurfaceEdge1D>>> outEdges, Optional<Conditional<Fil.Profile>> outDeviationProfile, Optional<List<Fil.Point3D>> outInliers, Optional<List<Fil.Profile>> outHeightProfiles, Optional<List<Fil.Profile>> outResponseProfiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Fil.Surface | Surface to fit the circle to. | ||
![]() | inFittingMap | Fil.CircleFittingMap | Input fitting map. | ||
![]() | inEdgeScanParams | Fil.EdgeScanParams3D | Parameters controlling the edge extraction process. | ||
![]() | inEdgeSelection | Fil.Selection | fil::SelectionBest | Selection mode of edges. Default value: fil::SelectionBest. | |
![]() | 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. |
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found. Default value: 0.1f. |
![]() | inFittingMethod | Fil.CircleFittingMethod | AlgebraicTaubin | Method used to fit a circle. Default value: AlgebraicTaubin. | |
![]() | inOutlierSuppression | Ftl.Optional<Fil.MEstimator> | Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL. | ||
![]() | outCircle | Ftl.Conditional<Fil.Circle3D> | Fitted circle or nothing if the fitting fails. | ||
![]() | 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 circle points and the corresponding reference circle points. | ||
![]() | outInliers | Ftl.Optional<System.Collections.Generic.List<Fil.Point3D>> | Points matching the fitting Circle. | ||
![]() | 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. |