mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 12:50:32 +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
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
|
||||||
|
|
||||||
#include <GEOMAlgo_ShapeInfoFiller.ixx>
|
#include <GEOMAlgo_ShapeInfoFiller.ixx>
|
||||||
|
|
||||||
@ -113,7 +112,6 @@
|
|||||||
aKNF==GEOMAlgo_KN_TRIANGLE ||
|
aKNF==GEOMAlgo_KN_TRIANGLE ||
|
||||||
aKNF==GEOMAlgo_KN_QUADRANGLE) {
|
aKNF==GEOMAlgo_KN_QUADRANGLE) {
|
||||||
++aNbPgn;
|
++aNbPgn;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (aKNF==GEOMAlgo_KN_RECTANGLE) {
|
else if (aKNF==GEOMAlgo_KN_RECTANGLE) {
|
||||||
++aNbPgn;
|
++aNbPgn;
|
||||||
@ -148,10 +146,16 @@
|
|||||||
return;
|
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) {
|
if (aNbPgn!=6) {
|
||||||
aInfo.SetKindOfName(GEOMAlgo_KN_POLYHEDRON);
|
aInfo.SetKindOfName(GEOMAlgo_KN_POLYHEDRON);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// aNbPgn==6
|
||||||
if (aNbPgn!=aNbRct) {
|
if (aNbPgn!=aNbRct) {
|
||||||
aInfo.SetKindOfName(GEOMAlgo_KN_POLYHEDRON);
|
aInfo.SetKindOfName(GEOMAlgo_KN_POLYHEDRON);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user