Problem with visualization
Posted: 11 Aug 2017, 12:55
I tried to visualize 3D polytope with $p->VISUAL;
but I got a message in terminal ERROR: could not provide all required input properties at input line 1.
I typed by hand:
Each line is OK but VISUAL doesn't work. I tried other 3D examples and got the same message.
2D visualization is OK. My opinion is that something goes wrong with javaView. Please, help me, I was trying to solve this all days.
but I got a message in terminal ERROR: could not provide all required input properties at input line 1.
I typed by hand:
Code: Select all
$n=new Matrix<Rational>([[-3,1,0,0,0],[-3,0,1,0,0],[-3,0,0,1,0],[-3,0,0,0,1],[-9,1,1,0,0],[-9,0,1,1,0],[-9,0,0,1,1],[-27,1,1,1,0],[-27,0,1,1,1]]);
$p=new Polytope<Rational>(INEQUALITIES=>$n, EQUATIONS=>[[-81,1,1,1,1]]);
$p->VISUAL;
2D visualization is OK. My opinion is that something goes wrong with javaView. Please, help me, I was trying to solve this all days.