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

Invoke.FitPlaneToPoint3DGrid

Approximates points of the input grid with a plane using the Least Squares method.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitPlaneToPoint3DGrid
(
	Fil.Point3DGrid inPointGrid,
	Optional<Fil.Region> inRoi,
	out Fil.Plane3D outPlane,
	Optional<List<float>> outDistances,
	Optional<float> outSignedDistanceSum,
	Optional<float> outDistanceSum,
	Optional<List<float>> outSquaredDistances,
	Optional<float> outSquaredDistanceSum
)

Parameters

Name Type Range Default Description
inPointGridFil.Point3DGridInput point grid.
inRoiFtl.Optional<Fil.Region>Region of interest. Default value: ftl::NIL.
outPlaneFil.Plane3DFitted plane.
outDistancesFtl.Optional<System.Collections.Generic.List<float>>Distances of the input grid points to a resulting plane.
outSignedDistanceSumFtl.Optional<float>Sum of signed distances of the input grid points to a resulting plane.
outDistanceSumFtl.Optional<float>Sum of distances of the input grid points to a resulting plane.
outSquaredDistancesFtl.Optional<System.Collections.Generic.List<float>>Squared distances of the input grid points to a resulting plane.
outSquaredDistanceSumFtl.Optional<float>Sum of squared distances of the input grid points to a resulting plane.

See also