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 |
 |
inPoints |
list[Point3D] |
|
|
 |
outLine |
Line3D |
|
|
 |
outError |
float |
|
|