~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/eng/graphics/eval3dp.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
3
<MAN>
 
4
  <LANGUAGE>eng</LANGUAGE>
 
5
  <TITLE>eval3dp</TITLE>
 
6
  <TYPE>Scilab Function</TYPE>
 
7
  <DATE>September 1994</DATE>
 
8
  <SHORT_DESCRIPTION name="eval3dp"> compute facets of a 3D parametric surface</SHORT_DESCRIPTION>
 
9
  <CALLING_SEQUENCE>
 
10
    <CALLING_SEQUENCE_ITEM>[Xf,Yf,Zf]=eval3dp(fun,p1,p2)  </CALLING_SEQUENCE_ITEM>
 
11
  </CALLING_SEQUENCE>
 
12
  <PARAM>
 
13
    <PARAM_INDENT>
 
14
      <PARAM_ITEM>
 
15
        <PARAM_NAME>Xf,Yf,Zf</PARAM_NAME>
 
16
        <PARAM_DESCRIPTION>
 
17
          <SP>: matrices of size (4,n-1*m-1). <VERB>Xf(:,i)</VERB> ,<VERB>Yf(:,i)</VERB> and <VERB>Zf(:,i)</VERB>  are respectively the x-axis, y-axis and z-axis coordinates of the 4 points of  the ith four sided facet.</SP>
 
18
        </PARAM_DESCRIPTION>
 
19
      </PARAM_ITEM>
 
20
      <PARAM_ITEM>
 
21
        <PARAM_NAME>fun</PARAM_NAME>
 
22
        <PARAM_DESCRIPTION>
 
23
          <SP>: a Scilab function.</SP>
 
24
        </PARAM_DESCRIPTION>
 
25
      </PARAM_ITEM>
 
26
      <PARAM_ITEM>
 
27
        <PARAM_NAME>p1</PARAM_NAME>
 
28
        <PARAM_DESCRIPTION>
 
29
          <SP>: a vector of size <VERB>n</VERB>.</SP>
 
30
        </PARAM_DESCRIPTION>
 
31
      </PARAM_ITEM>
 
32
      <PARAM_ITEM>
 
33
        <PARAM_NAME>p2</PARAM_NAME>
 
34
        <PARAM_DESCRIPTION>
 
35
          <SP>: a vector of size <VERB>m</VERB>.</SP>
 
36
        </PARAM_DESCRIPTION>
 
37
      </PARAM_ITEM>
 
38
    </PARAM_INDENT>
 
39
  </PARAM>
 
40
  <DESCRIPTION>
 
41
    <P><VERB>eval3dp</VERB> computes a four sided facets representation of a 3D parametric surface 
 
42
    defined by the function <VERB>fun</VERB>. <VERB>fun(p1,p2)</VERB> computes the 
 
43
    x-axis ,y-axis and z-axis coordinates of the corresponding points on the 
 
44
    surface, as [x(i),y(i),z(i)]=fun(p1(i),p2(i)). This is used for efficiency.</P>
 
45
  </DESCRIPTION>
 
46
  <EXAMPLE>
 
47
<![CDATA[
 
48
p1=linspace(0,2*%pi,10);
 
49
p2=linspace(0,2*%pi,10);
 
50
deff("[x,y,z]=scp(p1,p2)",["x=p1.*sin(p1).*cos(p2)";..
 
51
                            "y=p1.*cos(p1).*cos(p2)";..
 
52
                            "z=p1.*sin(p2)"])
 
53
[Xf,Yf,Zf]=eval3dp(scp,p1,p2);
 
54
plot3d(Xf,Yf,Zf)
 
55
 ]]>
 
56
  </EXAMPLE>
 
57
  <SEE_ALSO>
 
58
    <SEE_ALSO_ITEM>
 
59
      <LINK>genfac3d</LINK>
 
60
    </SEE_ALSO_ITEM>
 
61
    <SEE_ALSO_ITEM>
 
62
      <LINK>plot3d</LINK>
 
63
    </SEE_ALSO_ITEM>
 
64
  </SEE_ALSO>
 
65
</MAN>