connect(GroupPoints->CheckButton1, SIGNAL(toggled(bool)), this, SLOT(SelectionTypeButtonClicked()));
initName(tr("GEOM_PIPE"));
+ resize(100,100);
GroupPoints->TextLabel3->hide();
GroupPoints->PushButton3->hide();
{
GEOM::GEOM_Object_var anObj;
+ GEOM::GEOM_I3DPrimOperations_var anOper = GEOM::GEOM_I3DPrimOperations::_narrow(getOperation());
+
switch ( getConstructorId() ) {
case 0 :
- anObj = GEOM::GEOM_I3DPrimOperations::_narrow(getOperation())->MakePipe(myBase, myPath);
+ anObj = anOper->MakePipe(myBase, myPath);
break;
case 1 :
- anObj = GEOM::GEOM_I3DPrimOperations::_narrow(getOperation())->
- MakePipeBiNormalAlongVector(myBase, myPath, myVec);
+ anObj = anOper->MakePipeBiNormalAlongVector(myBase, myPath, myVec);
break;
}