myBlocksOp = GEOM::GEOM_IBlocksOperations::_nil();
myCurvesOp = GEOM::GEOM_ICurvesOperations::_nil();
myLocalOp = GEOM::GEOM_ILocalOperations::_nil();
+ myMeasureOp = GEOM::GEOM_IMeasureOperations::_nil();
myGroupOp = GEOM::GEOM_IGroupOperations::_nil();
}
}
}
+//=============================================================================
+// getMeasureOp:
+//=============================================================================
+void GEOM_Superv_i::getMeasureOp()
+{
+ if (CORBA::is_nil(myGeomEngine))
+ setGeomEngine();
+ // get GEOM_IMeasureOperations interface
+ if (CORBA::is_nil(myMeasureOp))
+ {
+ myMeasureOp = myGeomEngine->GetIMeasureOperations();
+ }
+}
+
//=============================================================================
// getGroupOp:
//=============================================================================
return NULL;
}
+//=============================================================================
+// PatchFace:
+//=============================================================================
+GEOM::GEOM_List_ptr GEOM_Superv_i::PatchFace(GEOM::GEOM_Object_ptr theShape)
+{
+ beginService(" GEOM_Superv_i::PatchFace");
+ MESSAGE("GEOM_Superv_i::PatchFace");
+ getLocalOp();
+
+ GEOM::ListOfGO* aList = myMeasureOp->PatchFace(theShape);
+ GEOM_List_i<GEOM::ListOfGO>* aListPtr = new GEOM_List_i<GEOM::ListOfGO>(*(aList));
+ endService(" GEOM_Superv_i::PatchFace");
+ return aListPtr->_this();
+}
+
/*@@ insert new functions before this line @@ do not remove this line @@*/
GEOM_Superv_i_With_Session::GEOM_Superv_i_With_Session(CORBA::ORB_ptr orb,