You are here: Start » FIL.NET » FIS.FitCircle3DToHole Method

FIS.FitCircle3DToHole Method

Fits a circle to a hole in a plane.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void FitCircle3DToHole
(
	FilNet.Point3DGrid inPointGrid,
	NullableRef<FilNet.Region> inRoi,
	FilNet.MEstimator inPlaneOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	FilNet.Plane3D? inInitialPlane,
	FilNet.CircleFittingMethod inCircleFittingMethod,
	FilNet.MEstimator? inCircleOutlierSuppression,
	INullable<FilNet.Circle3D> outCircle3D,
	out FilNet.Plane3D outPlane,
	NullableRef<List<FilNet.Point3D>> outInliers,
	NullableRef<List<float>> outDistances,
	NullableValue<float> outSignedDistanceSum,
	NullableValue<float> outDistanceSum,
	NullableRef<List<float>> outSquaredDistances,
	NullableValue<float> outSquaredDistanceSum
)

Parameters

Name Type Range Default Description
inPointGridFilNet.Point3DGrid
inRoiFilNet.NullableRef<FilNet.Region>Range of pixels to be processed. Default value: ftl::NIL.
inPlaneOutlierSuppressionFilNet.MEstimator
inClippingFactorfloat<0.675f, 6.0f>2.5fMultitude of standard deviation within which points are considered inliers. Default value: 2.5f.
inIterationCountint<0, INF>5Number of iterations of outlier suppressing algorithm. Default value: 5.
inInitialPlaneFilNet.Plane3D?Initial approximation of a plane (if available). Default value: ftl::NIL.
inCircleFittingMethodFilNet.CircleFittingMethod
inCircleOutlierSuppressionFilNet.MEstimator?
outCircle3DFilNet.INullable<FilNet.Circle3D>Circle fitted to a hole. This parameter cannot be null.
outPlaneFilNet.Plane3D
outInliersFilNet.NullableRef<System.Collections.Generic.List<FilNet.Point3D>>Points matching the computed plane. Can be null to skip this parameter calculation.
outDistancesFilNet.NullableRef<System.Collections.Generic.List<float>>Distances of the input points to a resulting plane. Can be null to skip this parameter calculation.
outSignedDistanceSumFilNet.NullableValue<float>Sum of signed distances of the input points to a resulting plane. Can be null to skip this parameter calculation.
outDistanceSumFilNet.NullableValue<float>Sum of distances of the input points to a resulting plane. Can be null to skip this parameter calculation.
outSquaredDistancesFilNet.NullableRef<System.Collections.Generic.List<float>>Squared distances of the input points to a resulting plane. Can be null to skip this parameter calculation.
outSquaredDistanceSumFilNet.NullableValue<float>Sum of squared distances of the input points to a resulting plane. Can be null to skip this parameter calculation.

Function Overrides

See also