return myGeomEngine->PublishInStudy(theStudy, theSObject, theObject, theName);
}
+//============================================================================
+// function : PublishNamedShapesInStudy
+// purpose :
+//============================================================================
+GEOM::ListOfGO*
+GEOM_Superv_i::PublishNamedShapesInStudy(SALOMEDS::Study_ptr theStudy,
+ //SALOMEDS::SObject_ptr theSObject,
+ CORBA::Object_ptr theObject)
+{
+ if (CORBA::is_nil(myGeomEngine))
+ setGeomEngine();
+ return myGeomEngine->PublishNamedShapesInStudy(theStudy, theObject);
+}
+
//============================================================================
// function : CanCopy()
// purpose :
return anObj;
}
+//=============================================================================
+// MakePlane2Vec:
+//=============================================================================
+GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePlane2Vec (GEOM::GEOM_Object_ptr theVec1,
+ GEOM::GEOM_Object_ptr theVec2,
+ CORBA::Double theTrimSize)
+{
+ beginService( " GEOM_Superv_i::MakePlane2Vec" );
+ MESSAGE("GEOM_Superv_i::MakePlane2Vec");
+ getBasicOp();
+ GEOM::GEOM_Object_ptr anObj = myBasicOp->MakePlane2Vec(theVec1, theVec2, theTrimSize);
+ endService( " GEOM_Superv_i::MakePlane2Vec" );
+ return anObj;
+}
+
+//=============================================================================
+// MakePlaneLCS:
+//=============================================================================
+GEOM::GEOM_Object_ptr GEOM_Superv_i::MakePlaneLCS (GEOM::GEOM_Object_ptr theLCS,
+ CORBA::Double theTrimSize,
+ CORBA::Double theOrientation)
+{
+ beginService( " GEOM_Superv_i::MakePlaneLCS" );
+ MESSAGE("GEOM_Superv_i::MakePlaneLCS");
+ getBasicOp();
+ GEOM::GEOM_Object_ptr anObj = myBasicOp->MakePlaneLCS(theLCS, theTrimSize, theOrientation);
+ endService( " GEOM_Superv_i::MakePlaneLCS" );
+ return anObj;
+}
+
//=============================================================================
// MakeMarker:
//=============================================================================
//=============================================================================
// MakeWire:
//=============================================================================
-GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeWire (GEOM::GEOM_List_ptr theEdgesAndWires)
+GEOM::GEOM_Object_ptr GEOM_Superv_i::MakeWire (GEOM::GEOM_List_ptr theEdgesAndWires,
+ CORBA::Double theTolerance)
{
beginService( " GEOM_Superv_i::MakeWire" );
MESSAGE("GEOM_Superv_i::MakeWire");
if (GEOM_List_i<GEOM::ListOfGO>* aListImplEW =
dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theEdgesAndWires, myPOA).in())) {
getShapesOp();
- GEOM::GEOM_Object_ptr anObj = myShapesOp->MakeWire(aListImplEW->GetList());
+ GEOM::GEOM_Object_ptr anObj = myShapesOp->MakeWire(aListImplEW->GetList(), theTolerance);
endService( " GEOM_Superv_i::MakeWire" );
return anObj;
}