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 #20256: [CEA 18523] Porting SMESH to int 64 bits
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_BallElement.cxx
diff --git
a/src/SMDS/SMDS_BallElement.cxx
b/src/SMDS/SMDS_BallElement.cxx
index 86dc634c7a14b0efc58280b2cf77340d738e400e..0436bdfd961b6112427f0cf0a3fc0505753bcea4 100644
(file)
--- a/
src/SMDS/SMDS_BallElement.cxx
+++ b/
src/SMDS/SMDS_BallElement.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2010-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2010-20
21
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-30,7
+30,7
@@
void SMDS_BallElement::init(const SMDS_MeshNode * node, double diameter )
{
vtkIdType nodeVtkID = node->GetVtkID();
void SMDS_BallElement::init(const SMDS_MeshNode * node, double diameter )
{
vtkIdType nodeVtkID = node->GetVtkID();
-
int
vtkID = getGrid()->InsertNextLinkedCell( toVtkType( SMDSEntity_Ball ), 1, &nodeVtkID );
+
vtkIdType
vtkID = getGrid()->InsertNextLinkedCell( toVtkType( SMDSEntity_Ball ), 1, &nodeVtkID );
setVtkID( vtkID );
getGrid()->SetBallDiameter( GetVtkID(), diameter );
}
setVtkID( vtkID );
getGrid()->SetBallDiameter( GetVtkID(), diameter );
}