Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90699a9
)
IMP 10199 (add Volume Control). Add GetVolumeType() of instance
author
eap
<eap@opencascade.com>
Mon, 10 Oct 2005 14:37:11 +0000
(14:37 +0000)
committer
eap
<eap@opencascade.com>
Mon, 10 Oct 2005 14:37:11 +0000
(14:37 +0000)
src/SMDS/SMDS_VolumeTool.hxx
patch
|
blob
|
history
diff --git
a/src/SMDS/SMDS_VolumeTool.hxx
b/src/SMDS/SMDS_VolumeTool.hxx
index e8891b93a1c4ecc7fa07392f4ffb1b6cf07c3b81..beec061b700ec62c9c7ca0eb7e8ef48ab8871b12 100644
(file)
--- a/
src/SMDS/SMDS_VolumeTool.hxx
+++ b/
src/SMDS/SMDS_VolumeTool.hxx
@@
-61,6
+61,8
@@
class SMDS_WNT_EXPORT SMDS_VolumeTool
{
public:
{
public:
+ enum VolumeType { UNKNOWN = -1, TETRA = 0, PYRAM, PENTA, HEXA, POLYHEDA };
+
SMDS_VolumeTool ();
~SMDS_VolumeTool ();
SMDS_VolumeTool (const SMDS_MeshElement* theVolume);
SMDS_VolumeTool ();
~SMDS_VolumeTool ();
SMDS_VolumeTool (const SMDS_MeshElement* theVolume);
@@
-73,6
+75,8
@@
class SMDS_WNT_EXPORT SMDS_VolumeTool
// general info
// -----------------------
// general info
// -----------------------
+ VolumeType GetVolumeType() const;
+
bool IsForward() const { return myVolForward; }
// Check volume orientation. can be changed by Inverse().
// See node order of forward volumes at the file bottom
bool IsForward() const { return myVolForward; }
// Check volume orientation. can be changed by Inverse().
// See node order of forward volumes at the file bottom
@@
-170,8
+174,6
@@
class SMDS_WNT_EXPORT SMDS_VolumeTool
// static methods for faces
// ------------------------
// static methods for faces
// ------------------------
- enum VolumeType { UNKNOWN, TETRA, PYRAM, PENTA, HEXA };
-
static VolumeType GetType(int nbNodes);
// return VolumeType by nb of nodes in a volume
static VolumeType GetType(int nbNodes);
// return VolumeType by nb of nodes in a volume