5 static double c[15][6]={
6 { 0.000000,0.000000,1.000000,-1.500000,-1.000000,0.000000},
7 { -1.000000,0.000000,0.000000,0.000000,5.000000,1.500000},
8 { 0.000000,-1.000000,0.000000,-5.000000,0.000000,-1.000000},
9 { 0.000000,0.000000,1.000000,1.500000,-1.000000,0.000000},
10 { 1.000000,0.000000,0.000000,0.000000,-5.000000,-1.500000},
11 { 0.000000,-1.000000,0.000000,-5.000000,0.000000,1.000000},
12 { 0.000000,0.000000,1.000000,1.500000,1.000000,0.000000},
13 { 1.000000,0.000000,0.000000,0.000000,-2.000000,1.500000},
14 { 0.000000,1.000000,0.000000,2.000000,0.000000,-1.000000},
15 { -1.000000,0.000000,0.000000,0.000000,2.000000,-1.500000},
16 { 0.000000,1.000000,0.000000,2.000000,0.000000,1.000000},
17 { -1.000000,0.000000,0.000000,0.000000,2.000000,1.500000},
18 { 0.000000,-1.000000,0.000000,-2.000000,0.000000,-1.000000},
19 { 1.000000,0.000000,0.000000,0.000000,-2.000000,-1.500000},
20 { 0.000000,-1.000000,0.000000,-2.000000,0.000000,1.000000}};
38 printf(
"cone edge\n");
42 printf(
"%f ",w[j][i]);
cone(MATRIX x, int n, int p, w)