You are here: Start » FIL.NET » Invoke.FitCircleToSurfaceHole

Invoke.FitCircleToSurfaceHole

Fits a circle to a hole in a surface plane.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitCircleToSurfaceHole
(
	Fil.Surface inSurface,
	Optional<Fil.Region> inRoi,
	Fil.MEstimator inPlaneOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	Optional<Fil.Plane3D> inInitialPlane,
	Fil.CircleFittingMethod inCircleFittingMethod,
	Optional<Fil.MEstimator> inCircleOutlierSuppression,
	Conditional<Fil.Circle3D> outCircle3D,
	out Fil.Plane3D outPlane,
	Optional<List<Fil.Point3D>> outInliers,
	Optional<List<float>> outDistances,
	Optional<float> outSignedDistanceSum,
	Optional<float> outDistanceSum,
	Optional<List<float>> outSquaredDistances,
	Optional<float> outSquaredDistanceSum
)

Parameters

Name Type Range Default Description
inSurfaceFil.SurfaceInput surface.
inRoiFtl.Optional<Fil.Region>Region of interest. Default value: ftl::NIL.
inPlaneOutlierSuppressionFil.MEstimatorSelects a method for ignoring points not lying on the fitted plane.
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.
inInitialPlaneFtl.Optional<Fil.Plane3D>Initial approximation of a plane (if available). Default value: ftl::NIL.
inCircleFittingMethodFil.CircleFittingMethodSelect a method for fitting a circle to a set of points.
inCircleOutlierSuppressionFtl.Optional<Fil.MEstimator>Selects a method for ignoring points not lying on the fitted circle. Default value: ftl::NIL.
outCircle3DFtl.Conditional<Fil.Circle3D>Circle fitted to a surface hole.
outPlaneFil.Plane3DPlane fitted to the surface points.
outInliersFtl.Optional<System.Collections.Generic.List<Fil.Point3D>>Points matching the computed plane.
outDistancesFtl.Optional<System.Collections.Generic.List<float>>Distances of the input surface points to a resulting plane.
outSignedDistanceSumFtl.Optional<float>Sum of signed distances of the input surface points to a resulting plane.
outDistanceSumFtl.Optional<float>Sum of distances of the input surface points to a resulting plane.
outSquaredDistancesFtl.Optional<System.Collections.Generic.List<float>>Squared distances of the input surface points to a resulting plane.
outSquaredDistanceSumFtl.Optional<float>Sum of squared distances of the input surface points to a resulting plane.

See also