Curve.LeastSquares Method

Least squares curve approximation.
Public Shared Function LeastSquares( _ 
ByVal Q As IList(Of Point3D), _ 
ByVal p As Integer, _ 
ByVal n As Integer
) As Curve
This language is not supported or no code example is available.
public static Curve LeastSquares( 
IList<Point3D> Q
int p
int n 
)
This language is not supported or no code example is available.

Parameters

Q
IList<Point3D>

The list of 3D points

p
int

The curve degree

n
int

The number of control points in the new curve

Return Value

Curve

The approximated curve if the operation is successful, null/Nothing otherwise.

Remarks
 
deg must be smaller than Q.Count

.NET Framework

Supported in: 4.8

In this article

Definition