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

Local cubic approximation of a igCurve 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 GCurve
This language is not supported or no code example is available.
public static GCurve 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 igCurve, if false (default) the start and end tangents are parallel

Return Value

GCurve

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

.NET Framework

Supported in: 4.7.2

In this article

Definition