GCurve.LeastSquares Method

Least squares igCurve approximation.
Public Shared Function LeastSquares( _ 
ByVal Q As IList(Of Point3D), _ 
ByVal p As Integer, _ 
ByVal n As Integer
) As GCurve
This language is not supported or no code example is available.
public static GCurve 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 igCurve degree

n
int

The number of control points in the new igCurve

Return Value

GCurve

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

Remarks
 
deg must be smaller than Q.Count

.NET Framework

Supported in: 4.7.2

In this article

Definition