theFaceEntry = theFace->GetStudyEntry();
theAttEntry = theAttractor->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFaceEntry.empty()) {
CORBA::String_var theFaceEntry = theFace->GetStudyEntry();
CORBA::String_var theAttrEntry = theAttractor->GetStudyEntry();
- // GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ // GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
// string aName;
// if (theFaceEntry.empty()) {
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
aName = "Face_";
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
aName = "Face_";
THROW_SALOME_CORBA_EXCEPTION("theVertex shape type is not VERTEX or COMPOUND", SALOME::BAD_PARAM);
}
- // GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ // GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
// GEOM::GEOM_IMeasureOperations_var measureOp = geomGen->GetIMeasureOperations();
// if (CORBA::is_nil(measureOp))
// return false;
string theFaceEntry = theFace->GetStudyEntry();
string theVertexEntry = theVertex->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFaceEntry.empty()) {
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
aName = "Face_";
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
aName = "Face_";
string theFaceEntry = theFace->GetStudyEntry();
string theVertexEntry = theVertex->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFaceEntry.empty()) {
// string theFaceEntry = theFace->GetStudyEntry();
// if (theFaceEntry.empty()) {
-// GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+// GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
// string aName;
// if (theFace->GetShapeType() == GEOM::FACE)
// aName = "Face_";
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
aName = "Face_";
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
aName = "Face_";
THROW_SALOME_CORBA_EXCEPTION("theVertex shape type is not VERTEX or COMPOUND", SALOME::BAD_PARAM);
}
- // GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ // GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
// GEOM::GEOM_IMeasureOperations_var measureOp = geomGen->GetIMeasureOperations();
// if (CORBA::is_nil(measureOp))
// return false;
std::string theFaceEntry = theFace->GetStudyEntry();
std::string theVertexEntry = theVertex->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFaceEntry.empty()) {
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
aName = "Face_";
}
string theVertexEntry = theVertex->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theVertex );
string aName;
if (theVertexEntry.empty()) {
string theVertexEntry = theVertex->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theVertex );
string aName;
if (theVertexEntry.empty()) {
}
std::string theVertexEntry = theVertex->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theVertex );
string aName;
if (theVertexEntry.empty()) {
string theFaceEntry = theFace->GetStudyEntry();
if (theFaceEntry.empty()) {
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theFace );
SMESH_Gen_i *smeshGen = SMESH_Gen_i::GetSMESHGen();
string aName;
if (theFace->GetShapeType() == GEOM::FACE)
// Check shape is published in the object browser
string shapeEntry = shape->GetStudyEntry();
- GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine();
+ GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( shape );
string aName;
// Publish shape if needed