You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Fitting » FIL.FitCircleToPoints3D

FIL.FitCircleToPoints3D

Approximates points in 3D with a circle using selected outliers suppression method.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void FitCircleToPoints3D
(
	IList<FilNet.Point3D> inPoints,
	FilNet.CircleFittingMethod inFittingMethod,
	FilNet.MEstimator? inOutlierSuppression,
	FilNet.Plane3D? inPlane,
	INullable<FilNet.Circle3D> outCircle,
	NullableRef<List<FilNet.Point3D>> outInliers
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<FilNet.Point3D>
inFittingMethodFilNet.CircleFittingMethod
inOutlierSuppressionFilNet.MEstimator?
inPlaneFilNet.Plane3D?
outCircleFilNet.INullable<FilNet.Circle3D>Fitted circle or nothing if method failed to converge,. This parameter cannot be null.
outInliersFilNet.NullableRef<System.Collections.Generic.List<FilNet.Point3D>> Can be null to skip this parameter calculation.

Errors

List of possible exceptions:

Error type Description
DomainError Empty point array on input in FitCircleToPoints3D.

Function Overrides

See also