1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>r2p.c Source File
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.2.15 -->
8 <a class=
"qindex" href=
"main.html">Main Page
</a> <a class=
"qindex" href=
"annotated.html">Compound List
</a> <a class=
"qindex" href=
"files.html">File List
</a> <a class=
"qindex" href=
"functions.html">Compound Members
</a> <a class=
"qindex" href=
"globals.html">File Members
</a> </center>
9 <hr><h1>r2p.c
</h1><a href=
"r2p_8c.html">Go to the documentation of this file.
</a><div class=
"fragment"><pre>00001 <font class=
"comment">/* Rays
2 Polyhedron
</font>
10 00002 <font class=
"comment"> */
</font>
12 00004 <font class=
"preprocessor">#include
<stdio.h
></font>
13 00005 <font class=
"preprocessor">#include
<polylib/polylib.h
></font>
15 <a name=
"l00007"></a><a class=
"code" href=
"r2p_8c.html#a0">00007</a> <font class=
"keywordtype">int
</font> <a class=
"code" href=
"c2p_8c.html#a1">main
</a>() {
20 00012 R =
<a class=
"code" href=
"matrix_8c.html#a4">Matrix_Read
</a>();
21 00013 <font class=
"keywordflow">if
</font>(R-
>NbColumns
< 2) {
22 00014 printf(
<font class=
"stringliteral">"Wrong input: %d columns\n"</font>, R-
>NbColumns );
23 00015 <a class=
"code" href=
"matrix_8c.html#a1">Matrix_Free
</a>(R);
26 00018 P =
<a class=
"code" href=
"polyhedron_8c.html#a26">Rays2Polyhedron
</a>(R,
200);
27 00019 <a class=
"code" href=
"matrix_8c.html#a1">Matrix_Free
</a>(R);
28 00020 <a class=
"code" href=
"polyhedron_8c.html#a20">Polyhedron_Print
</a>(stdout,P_VALUE_FMT,P);
29 00021 <a class=
"code" href=
"polyhedron_8c.html#a19">Domain_Free
</a>(P);
30 00022 <font class=
"keywordflow">return
</font> 0;
33 </pre></div><hr><address align=
"right"><small>Generated on Fri Nov
8 12:
10:
07 2002 for Polylib by
34 <a href=
"http://www.doxygen.org/index.html">
35 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
0
36 width=
110 height=
53></a>1.2.15 </small></address>