#include CORBA_CLIENT_HEADER(GEOM_Gen)
#include <meshgems/meshgems.h>
+#define MESHGEMS_VERSION_HEX (MESHGEMS_VERSION_MAJOR << 16 | MESHGEMS_VERSION_MINOR << 8 | MESHGEMS_VERSION_PATCH)
namespace
{
_defaultOptionValues["compute_ridges" ] = "yes";
}
- if ( strcmp( MESHGEMS_VERSION_LONG, "2.9-6" ) < 0 )
+ if ( MESHGEMS_VERSION_HEX < 0x020906 )
{
std::string missingOption = "allow_patch_independent";
_defaultOptionValues.erase( missingOption );
return S;
}
+//=============================================================================
+std::string BLSURFPlugin_Hypothesis::GetMeshGemsVersion()
+{
+ return MESHGEMS_VERSION_LONG;
+}
+
//=============================================================================
void BLSURFPlugin_Hypothesis::SetPhysicalMesh(PhysicalMesh thePhysicalMesh) {
if (thePhysicalMesh != _physicalMesh) {