mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 09:50:33 +05:00
Mantis isssue 0021462: [CEA 532] Type problem.
This commit is contained in:
parent
a2ad5e1364
commit
7d247af0ad
@ -15,7 +15,6 @@
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
#include <GEOMAlgo_ShapeInfoFiller.ixx>
|
||||
|
||||
@ -113,7 +112,6 @@
|
||||
aKNF==GEOMAlgo_KN_TRIANGLE ||
|
||||
aKNF==GEOMAlgo_KN_QUADRANGLE) {
|
||||
++aNbPgn;
|
||||
|
||||
}
|
||||
else if (aKNF==GEOMAlgo_KN_RECTANGLE) {
|
||||
++aNbPgn;
|
||||
@ -148,10 +146,16 @@
|
||||
return;
|
||||
}
|
||||
//
|
||||
//modified by NIZNHY-PKV Wed Jan 11 11:04:31 2012f
|
||||
if (aNbF!=aNbPgn) {
|
||||
return;// -> GEOMAlgo_KN_UNKNOWN
|
||||
}
|
||||
//modified by NIZNHY-PKV Wed Jan 11 11:04:37 2012t
|
||||
if (aNbPgn!=6) {
|
||||
aInfo.SetKindOfName(GEOMAlgo_KN_POLYHEDRON);
|
||||
return;
|
||||
}
|
||||
// aNbPgn==6
|
||||
if (aNbPgn!=aNbRct) {
|
||||
aInfo.SetKindOfName(GEOMAlgo_KN_POLYHEDRON);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user