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
23258: [CEA 1804] Do not merge the middle nodes of quadratic elements
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_VolumeTool.hxx
diff --git
a/src/SMDS/SMDS_VolumeTool.hxx
b/src/SMDS/SMDS_VolumeTool.hxx
index 7e88f7c1a309c48061daf61a8ee4092da20c374e..5c2c882f6fe0cfefa7dc19aee6a304a2dae98c78 100644
(file)
--- a/
src/SMDS/SMDS_VolumeTool.hxx
+++ b/
src/SMDS/SMDS_VolumeTool.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, 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
@@
-58,15
+58,17
@@
class SMDS_EXPORT SMDS_VolumeTool
SMDS_VolumeTool ();
~SMDS_VolumeTool ();
SMDS_VolumeTool ();
~SMDS_VolumeTool ();
- SMDS_VolumeTool
(
const SMDS_MeshElement* theVolume,
- const bool ignoreCentralNodes
=
true);
+ SMDS_VolumeTool
(
const SMDS_MeshElement* theVolume,
+ const bool ignoreCentralNodes
=
true);
- bool Set (const SMDS_MeshElement* theVolume,
- const bool ignoreCentralNodes=true);
+ bool Set( const SMDS_MeshElement* theVolume,
+ const bool ignoreCentralNodes = true,
+ const std::vector<const SMDS_MeshNode*>* nodes = NULL);
// Set volume.
// Return false if theVolume is not of type SMDSAbs_Volume.
// ignoreCentralNodes makes skip nodes at face centers when returning
// Set volume.
// Return false if theVolume is not of type SMDSAbs_Volume.
// ignoreCentralNodes makes skip nodes at face centers when returning
- // nodes of faces of SMDSEntity_TriQuad_Hexa
+ // nodes of faces of SMDSEntity_TriQuad_Hexa.
+ // alternative nodes can be provided
const SMDS_MeshVolume* Element() const;
// return element
const SMDS_MeshVolume* Element() const;
// return element
@@
-91,10
+93,10
@@
class SMDS_EXPORT SMDS_VolumeTool
// top and bottom faces are reversed.
// Result of IsForward() and methods returning nodes change
// top and bottom faces are reversed.
// Result of IsForward() and methods returning nodes change
- const SMDS_MeshNode** GetNodes()
{ return
&myVolumeNodes[0]; }
+ const SMDS_MeshNode** GetNodes()
const { return (const SMDS_MeshNode**)
&myVolumeNodes[0]; }
// Return array of volume nodes
// Return array of volume nodes
- int NbNodes() { return myVolumeNodes.size(); }
+ int NbNodes()
const
{ return myVolumeNodes.size(); }
// Return array of volume nodes
double GetSize() const;
// Return array of volume nodes
double GetSize() const;