mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 16:30:34 +05:00
IMP 10199 (add Volume Control). Add GetVolumeType() of instance
This commit is contained in:
parent
90699a9eec
commit
365fd031c5
@ -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 ();
|
~SMDS_VolumeTool ();
|
||||||
SMDS_VolumeTool (const SMDS_MeshElement* theVolume);
|
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; }
|
bool IsForward() const { return myVolForward; }
|
||||||
// Check volume orientation. can be changed by Inverse().
|
// Check volume orientation. can be changed by Inverse().
|
||||||
// See node order of forward volumes at the file bottom
|
// 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);
|
static VolumeType GetType(int nbNodes);
|
||||||
// return VolumeType by nb of nodes in a volume
|
// return VolumeType by nb of nodes in a volume
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user