Eyeshot 10 WinForms API Reference
LocalApproximation(IList<Point3D>,Double,Vector3D[]) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Curve Class > LocalApproximation Method : LocalApproximation(IList<Point3D>,Double,Vector3D[]) Method
The list of points to approximate
The maximum error allowed
Automatically chosen tangents
Local cubic approximation of a curve bounded to a certain error.
Syntax
'Declaration
 
Public Overloads Shared Function LocalApproximation( _
   ByVal Q As IList(Of Point3D), _
   ByVal err As Double, _
   ByRef tangents As Vector3D() _
) As Curve
public static Curve LocalApproximation( 
   IList<Point3D> Q,
   double err,
   out Vector3D[] tangents
)

Parameters

Q
The list of points to approximate
err
The maximum error allowed
tangents
Automatically chosen tangents

Return Value

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

Reference

Curve Class
Curve Members
Overload List