Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize...
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_GroupBase.cxx
diff --git
a/src/SMESHDS/SMESHDS_GroupBase.cxx
b/src/SMESHDS/SMESHDS_GroupBase.cxx
index ce2feabafa3abaff50c4e07c7f014a7b141dbba6..cc133c45599ad7a07c79558ae7f3c7fb0158fe96 100644
(file)
--- a/
src/SMESHDS/SMESHDS_GroupBase.cxx
+++ b/
src/SMESHDS/SMESHDS_GroupBase.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
1 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-202
4 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-55,7
+55,7
@@
SMESHDS_GroupBase::SMESHDS_GroupBase (const int theID,
*/
//=============================================================================
*/
//=============================================================================
-
int
SMESHDS_GroupBase::GetID (const int theIndex)
+
smIdType
SMESHDS_GroupBase::GetID (const int theIndex)
{
if (myCurIndex < 1 || myCurIndex > theIndex) {
myIterator = GetElements();
{
if (myCurIndex < 1 || myCurIndex > theIndex) {
myIterator = GetElements();
@@
-75,7
+75,7
@@
int SMESHDS_GroupBase::GetID (const int theIndex)
*/
//=============================================================================
*/
//=============================================================================
-const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh (const
int
theID) const
+const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh (const
smIdType
theID) const
{
SMDSAbs_ElementType aType = GetType();
const SMDS_MeshElement* aElem = NULL;
{
SMDSAbs_ElementType aType = GetType();
const SMDS_MeshElement* aElem = NULL;
@@
-107,10
+107,10
@@
void SMESHDS_GroupBase::resetIterator()
//purpose :
//=======================================================================
//purpose :
//=======================================================================
-
int
SMESHDS_GroupBase::Extent() const
+
smIdType
SMESHDS_GroupBase::Extent() const
{
SMDS_ElemIteratorPtr it = GetElements();
{
SMDS_ElemIteratorPtr it = GetElements();
-
int
nb = 0;
+
smIdType
nb = 0;
if ( it )
for ( ; it->more(); it->next() )
nb++;
if ( it )
for ( ; it->more(); it->next() )
nb++;
@@
-136,7
+136,7
@@
bool SMESHDS_GroupBase::IsEmpty()
//purpose :
//=======================================================================
//purpose :
//=======================================================================
-bool SMESHDS_GroupBase::Contains (const
int
theID)
+bool SMESHDS_GroupBase::Contains (const
smIdType
theID)
{
if ( SMDS_ElemIteratorPtr it = GetElements() ) {
while ( it->more() )
{
if ( SMDS_ElemIteratorPtr it = GetElements() ) {
while ( it->more() )
@@
-184,9
+184,9
@@
void SMESHDS_GroupBase::SetColorGroup(int theColorGroup)
if ( aR < 0. || aR > 1. || // PAL19395
aG < 0. || aG > 1. ||
aB < 0. || aB > 1. )
if ( aR < 0. || aR > 1. || // PAL19395
aG < 0. || aG > 1. ||
aB < 0. || aB > 1. )
-//
#ifdef _DEBUG_
-//
cout << "SMESHDS_GroupBase::SetColorGroup("<<theColorGroup<<"), invalid color ignored"<<endl;
-// #endif
+//
if (SALOME::VerbosityActivated())
+// cout << "SMESHDS_GroupBase::SetColorGroup("<<theColorGroup<<"), invalid color ignored"<<endl;
+
return;
Quantity_Color aColor( aR, aG, aB, Quantity_TOC_RGB );
SetColor( aColor );
return;
Quantity_Color aColor( aR, aG, aB, Quantity_TOC_RGB );
SetColor( aColor );