Page 1 of 1

Outer or inner normal cone?

Posted: 25 Jul 2014, 04:04
by ChoF
Although the description of the command "normal_cone(p, v)" says that "Computes the outer normal cone of...", I noticed that the result from the command was "inner normal cone".

Moreover, the 31th line in the source code "apps/polytope/src/normal_cone.cc" contains the comment "// inner normal cone".

Is it a typo, or something I misunderstood?

Re: Outer or inner normal cone?

Posted: 25 Jul 2014, 09:22
by joswig
You are right, this is an error in the documentation of 2.13 and before. There it always computes inner normal cones. Yet this has been fixed in the 20140326 beta release. Moreover, this version lets you choose between inner and outer (but "inner" is the default).

Re: Outer or inner normal cone?

Posted: 28 Jul 2014, 09:44
by ChoF
You are right, this is an error in the documentation of 2.13 and before. There it always computes inner normal cones. Yet this has been fixed in the 20140326 beta release. Moreover, this version lets you choose between inner and outer (but "inner" is the default).
Thanks a lot. The beta version worked very well for me.