You are here: Start » AVL.NET » AVL.FitCircleToStripe3D

AVL.FitCircleToStripe3D

Performs a series of 1D edge detections and finds a circle that best matches the detected points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void FitCircleToStripe3D
(
	AvlNet.Surface inSurface,
	AvlNet.CircleFittingMap inFittingMap,
	AvlNet.StripeScanParams3D inStripeScanParams,
	AvlNet.Selection inStripeSelection,
	float inMaxIncompleteness,
	AvlNet.CircleFittingMethod inFittingMethod,
	INullable<AvlNet.Circle3D> outCircle,
	INullable<AvlNet.Circle3D> outInnerCircle,
	INullable<AvlNet.Circle3D> outOuterCircle,
	IList<AvlNet.Profile> diagHeightProfiles,
	IList<AvlNet.Profile> diagResponseProfiles
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceSurface to fit the circle to.
inFittingMapAvlNet.CircleFittingMapInput fitting map.
inStripeScanParamsAvlNet.StripeScanParams3DParameters controlling the stripe extraction process.
inStripeSelectionAvlNet.Selectionavl::Selection::BestSelection mode of stripe. Default value: avl::Selection::Best.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of stripe points not found. Default value: 0.1f.
inFittingMethodAvlNet.CircleFittingMethodAlgebraicTaubinMethod used to fit a circle. Default value: AlgebraicTaubin.
outCircleAvlNet.INullable<AvlNet.Circle3D>Fitted circle in the middle of found stripe or nothing if the fitting fails.
outInnerCircleAvlNet.INullable<AvlNet.Circle3D>Fitted inner circle.
outOuterCircleAvlNet.INullable<AvlNet.Circle3D>Fitted outer circle.
diagHeightProfilesSystem.Collections.Generic.IList<AvlNet.Profile>Extracted surface height profiles.
diagResponseProfilesSystem.Collections.Generic.IList<AvlNet.Profile>Profiles of the edge (derivative) operator response.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Function Overrides

See also