'Declaration Public Overloads Shared Function LocalApproximation( _ ByVal Q As IList(Of Point3D), _ ByVal err As Double, _ ByRef tangents As Vector3D(), _ Optional ByVal cornerEnd As Boolean _ ) As Curve
public static Curve LocalApproximation( IList<Point3D> Q, double err, out Vector3D[] tangents, bool cornerEnd )
Parameters
- Q
- The list of points to approximate
- err
- The maximum error allowed
- tangents
- Automatically chosen tangents
- cornerEnd
- 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
The approximated curve if the operation is successful, null/Nothing otherwise.