Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated for PAL14857.
[modules/geom.git]
/
src
/
NMTTools
/
NMTTools_DEProcessor.cxx
diff --git
a/src/NMTTools/NMTTools_DEProcessor.cxx
b/src/NMTTools/NMTTools_DEProcessor.cxx
index 0350ee38c18c901042c7d11a7314c21fd8083ee0..9c5f860f5fca955c6cf1ba8dc0f371ed0fbe8e5a 100644
(file)
--- a/
src/NMTTools/NMTTools_DEProcessor.cxx
+++ b/
src/NMTTools/NMTTools_DEProcessor.cxx
@@
-189,8
+189,9
@@
void NMTTools_DEProcessor::DoPaves()
{
void NMTTools_DEProcessor::DoPaves()
{
- Standard_Integer i, aNbE, nED, nVD, nFD
=0
;
+ Standard_Integer i, aNbE, nED, nVD, nFD
, aNbLPB
;
//
//
+ nFD=0;
aNbE=myDEMap.Extent();
for (i=1; i<=aNbE; i++) {
nED=myDEMap.FindKey(i);
aNbE=myDEMap.Extent();
for (i=1; i<=aNbE; i++) {
nED=myDEMap.FindKey(i);
@@
-202,9
+203,16
@@
TColStd_ListIteratorOfListOfInteger anIt(nLF);
for (; anIt.More(); anIt.Next()) {
nFD=anIt.Value();
TColStd_ListIteratorOfListOfInteger anIt(nLF);
for (; anIt.More(); anIt.Next()) {
nFD=anIt.Value();
-
+ //
BOPTools_ListOfPaveBlock aLPB;
FindPaveBlocks(nED, nVD, nFD, aLPB);
BOPTools_ListOfPaveBlock aLPB;
FindPaveBlocks(nED, nVD, nFD, aLPB);
+ //modified by NIZNHY-PKV Fri Mar 23 10:35:27 2007f
+ //
+ aNbLPB=aLPB.Extent();
+ if (!aNbLPB) {
+ continue;
+ }
+ //modified by NIZNHY-PKV Fri Mar 23 10:35:33 2007t
FillPaveSet (nED, nVD, nFD, aLPB);
}
//
FillPaveSet (nED, nVD, nFD, aLPB);
}
//