You are here: Start » FIL.NET » Invoke.FitPlaneToSurface
Approximates points of the input surface with a plane using the Least Squares method.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitPlaneToSurface ( Fil.Surface inSurface, 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 | |
---|---|---|---|---|---|
![]() | inSurface | Fil.Surface | Input surface. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Region of interest. Default value: ftl::NIL. | ||
![]() | outPlane | Fil.Plane3D | Fitted plane. | ||
![]() | outDistances | Ftl.Optional<System.Collections.Generic.List<float>> | Distances of the input surface points to a resulting plane. | ||
![]() | outSignedDistanceSum | Ftl.Optional<float> | Sum of signed distances of the input surface points to a resulting plane. | ||
![]() | outDistanceSum | Ftl.Optional<float> | Sum of distances of the input surface points to a resulting plane. | ||
![]() | outSquaredDistances | Ftl.Optional<System.Collections.Generic.List<float>> | Squared distances of the input surface points to a resulting plane. | ||
![]() | outSquaredDistanceSum | Ftl.Optional<float> | Sum of squared distances of the input surface points to a resulting plane. |