eval3dp — compute facets of a 3D parametric surface
[Xf,Yf,Zf]=eval3dp(fun,p1,p2)
matrices of size (4,n-1*m-1). Xf(:,i) ,Yf(:,i) and Zf(:,i) are respectively the x-axis, y-axis and z-axis coordinates of the 4 points of the ith four sided facet.
a Scilab function.
a vector of size n.
a vector of size m.
eval3dp computes a four sided facets representation of a 3D parametric surface
defined by the function fun. fun(p1,p2) computes the
x-axis ,y-axis and z-axis coordinates of the corresponding points on the
surface, as [x(i),y(i),z(i)]=fun(p1(i),p2(i)). This is used for efficiency.