Curve.LocalApproximation (IList<Point3D>, Double, out Vector3D(), Boolean) Method

Local cubic approximation of a curve bounded to a certain error.
Public Shared Function LocalApproximation( _ 
ByVal Q As IList(Of Point3D), _ 
ByVal err As Double, _ 
ByRef tangents As Vector3D(), _ 
Optional ByVal cornerEnd As Boolean = false _ 
) As Curve
This language is not supported or no code example is available.
public static Curve LocalApproximation( 
IList<Point3D> Q
double err
out Vector3D[] tangents
bool cornerEnd = false 
)
This language is not supported or no code example is available.

Parameters

Q
IList<Point3D>

The list of points to approximate

err
double

The maximum error allowed

tangents
Vector3D[]

Automatically chosen tangents

cornerEnd
bool

If true a corner may appear between the beginning and end of the curve, if false (default) the start and end tangents are parallel

Return Value

Curve

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

.NET Framework

Supported in: 4.8

In this article

Definition