FitLineToPoints3D


Approximates points in 3D with a line using the Least Squares method.

Syntax

C++
C#
Python
 
def FitLineToPoints3D(
	inPoints: list[Point3D],
	/
)
-> (
	outLine: Line3D,
	outError: float
)

Parameters

Name Type Default Description
Input value inPoints list[Point3D]
Output value outLine Line3D
Output value outError float