File: trisurfl.xml

package info (click to toggle)
scilab-plotlib 0.41-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,196 kB
  • sloc: xml: 3,308; makefile: 15
file content (95 lines) | stat: -rw-r--r-- 2,920 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 * Ajouter ici d'ventuels commentaires sur le fichier XML
-->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="trisurfl" xml:lang="en">
  <info>
    <pubdate>$LastChangedDate: 26-05-2009 $</pubdate>
  </info>
  <refnamediv>
    <refname>trisurfl</refname>
    <refpurpose>Display surface defined by a triangulation with
    lighting</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <title>Calling Sequence</title>
    <synopsis>hdl = trisurfl(TRI,X,Y,Z)</synopsis>
  </refsynopsisdiv>
  <refsection>
    <title>Parameter</title>
    <variablelist>
      <varlistentry>
        <term>TRI</term>
        <listitem>
          <para>3 by n matrix. A row of TRI contains indexes into the X,Y, and
          Z vertex vectors to define a single triangular face</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>X</term>
        <listitem>
          <para>1 by n matrix</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Y</term>
        <listitem>
          <para>1 by n matrix</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Z</term>
        <listitem>
          <para>1 by n matrix</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>hdl</term>
        <listitem>
          <para>Handle of the created Fac3d entity</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsection>
  <refsection>
    <title>Description</title>
    <para>trisurfl(TRI,X,Y,Z) displays the n triangles defined in the 3-by-n
    face matrix TRI as a surface. A row of TRI contains indexes into the X,Y,
    and Z vertex vectors to define a single triangular face. The default light
    direction is the vector [-1 -1 -1]. See the surfl function for other
    possible settings.</para>
  </refsection>
  <refsection>
    <title>Examples</title>
    <programlisting role="example">load(PLOTLIB+'dinosaure.dat')
colormap green;
trisurfl(nodes,x,y,z);
axis equal;
shading interp;
view([-45 30]);</programlisting>
  </refsection>
  <refsection>
    <title>Screenshot</title>
    <screenshot>
      <mediaobject>
        <imageobject>
          <imagedata fileref="trisurfl.png"/>
        </imageobject>
      </mediaobject>
    </screenshot>
  </refsection>
  <refsection>
    <title>See Also</title>
    <simplelist type="inline">
      <member>
        <link linkend="surfl">surfl</link>
      </member>
    </simplelist>
  </refsection>
  <refsection>
    <title>Authors</title>
    <simplelist type="vert">
      <member>Stphane Mottelet</member>
    </simplelist>
  </refsection>
</refentry>