You are here: Start » AVL.NET » AVL.FitCircleToEdges3D Method
AVL.FitCircleToEdges3D Method
Performs a series of 1D edge detections and finds a circle that best matches the detected points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void FitCircleToEdges3D( AvlNet.Surface inSurface, AvlNet.CircleFittingMap inFittingMap, AvlNet.EdgeScanParams3D inEdgeScanParams, AvlNet.Selection inEdgeSelection, float inMaxIncompleteness, AvlNet.CircleFittingMethod inFittingMethod, out AvlNet.Circle3D? outCircle, out System.Nullable<AvlNet.SurfaceEdge1D>[] outEdges, out AvlNet.Profile outDeviationProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Surface to fit the circle to. | |||
inFittingMap | AvlNet.CircleFittingMap | Input fitting map. | |||
inEdgeScanParams | AvlNet.EdgeScanParams3D | Parameters controlling the edge extraction process. | |||
inEdgeSelection | AvlNet.Selection | avl::SelectionBest | Selection mode of edges. Default value: avl::SelectionBest. | ||
inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found. Default value: 0.1f. | |
inFittingMethod | AvlNet.CircleFittingMethod | AlgebraicTaubin | Method used to fit a circle. Default value: AlgebraicTaubin. | ||
outCircle | AvlNet.Circle3D? | Fitted circle or nothing if the fitting fails. | |||
outEdges | AvlNet.SurfaceEdge1D? | Found edges | |||
outDeviationProfile | AvlNet.Profile | Profile of distances between the actual circle points and the corresponding reference circle points |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
See also
- FitCircleToEdges3D(AvlNet.Surface, AvlNet.CircleFittingMap, AvlNet.EdgeScanParams3D, AvlNet.Selection, AvlNet.LocalBlindness?, int?, float, AvlNet.CircleFittingMethod, AvlNet.MEstimator?, AvlNet.Circle3D?, System.Nullable<AvlNet.SurfaceEdge1D>[], AvlNet.Profile, AvlNet.Profile[], AvlNet.Profile[])
- Class Reference
- AVL Class