Drawing3d documented Class Library

xyzArray.Value Method

Calculates a point on the polygon belonging to param. For param = 0 , 1, 2, 3 ... you get the points this[0], this[1], this[2], this[3],... For values between a linear interpolation will be done.

xyzArray a = new xyzArray(4);
    a[0]= new xyz(1, 1, 1);
    a[1]= new xyz(1,-1, 2);
    a[2]= new xyz(3, 4, 2);
    a[3]= new xyz(2, 2, 1);
    //a.Value(0.5) = (1, 0, 1.5)

[Visual Basic]
Public Sub Value( _
   ByVal param As Double _
)
[C#]
public xyz Value(
   double param
);

Parameters

param
Parameter to interpolate the polygon

Return Value

Linear interpolation of the polygon

See Also

xyzArray Class | Drawing3d.Math Namespace