Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D Fitting » FitCircleToPoints3D

FitCircleToPoints3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Approximates points in 3D with a circle using selected outliers suppression method.
Syntax
C++
C#
void fil::FitCircleToPoints3D ( const ftl::Array<fil::Point3D>& inPoints, fil::CircleFittingMethod::Type inFittingMethod, ftl::Optional<fil::MEstimator::Type> inOutlierSuppression, ftl::Optional<const fil::Plane3D&> inPlane, ftl::Conditional<fil::Circle3D>& outCircle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoints | const Array<Point3D>& | ||
![]() |
inFittingMethod | CircleFittingMethod::Type | ||
![]() |
inOutlierSuppression | Optional<MEstimator::Type> | NIL | |
![]() |
inPlane | Optional<const Plane3D&> | NIL | |
![]() |
outCircle | Conditional<Circle3D>& | Fitted circle or nothing if method failed to converge |