Drawing3d documented Class Library

Utils.funQSpline Method

retrieves the value of QSpline ( a quadratic weighted spline) at t. He is given by two points A and B and a controlpoint P. Additionally a weight for the attraction of the controlpoint can be set.

[Visual Basic]
Public Shared Sub funQSpline( _
   ByVal A As xy, _
   ByVal B As xy, _
   ByVal Controlpoint As xy, _
   ByVal weight As Double, _
   ByVal t As Double _
)
[C#]
public static xy funQSpline(
   xy A,
   xy B,
   xy Controlpoint,
   double weight,
   double t
);

Parameters

A
Point A
B
Point B
Controlpoint
Controlpoint
weight
Attraction of the controlpoint. By default it is 1.
t
A paramter

Return Value

Returns the functionvalue

See Also

Utils Class | Drawing3d.Math Namespace