mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
NPAL 12483 Translate an object vector distance
This commit is contained in:
parent
416b6928cf
commit
3731e3ec02
@ -1347,6 +1347,23 @@ GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateVectorCopy (GEOM::GEOM_Object_ptr
|
|||||||
return anObj;
|
return anObj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=============================================================================
|
||||||
|
// TranslateVectorDistance:
|
||||||
|
//=============================================================================
|
||||||
|
GEOM::GEOM_Object_ptr GEOM_Superv_i::TranslateVectorDistance (GEOM::GEOM_Object_ptr theObject,
|
||||||
|
GEOM::GEOM_Object_ptr theVector,
|
||||||
|
CORBA::Double theDistance,
|
||||||
|
CORBA::Boolean theCopy)
|
||||||
|
{
|
||||||
|
beginService( " GEOM_Superv_i::TranslateVectorDistance" );
|
||||||
|
MESSAGE("GEOM_Superv_i::TranslateVectorDistance");
|
||||||
|
getTransfOp();
|
||||||
|
GEOM::GEOM_Object_ptr anObj = myTransfOp->TranslateVectorDistance(theObject,
|
||||||
|
theVector, theDistance, theCopy);
|
||||||
|
endService( " GEOM_Superv_i::TranslateVectorDistance" );
|
||||||
|
return anObj;
|
||||||
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// MultiTranslate1D:
|
// MultiTranslate1D:
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
@ -314,6 +314,10 @@ public:
|
|||||||
GEOM::GEOM_Object_ptr theVector);
|
GEOM::GEOM_Object_ptr theVector);
|
||||||
GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
|
GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
|
||||||
GEOM::GEOM_Object_ptr theVector);
|
GEOM::GEOM_Object_ptr theVector);
|
||||||
|
GEOM::GEOM_Object_ptr TranslateVectorDistance (GEOM::GEOM_Object_ptr theObject,
|
||||||
|
GEOM::GEOM_Object_ptr theVector,
|
||||||
|
CORBA::Double theDistance,
|
||||||
|
CORBA::Boolean theCopy);
|
||||||
GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject,
|
GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject,
|
||||||
GEOM::GEOM_Object_ptr theVector,
|
GEOM::GEOM_Object_ptr theVector,
|
||||||
CORBA::Double theStep,
|
CORBA::Double theStep,
|
||||||
|
Loading…
Reference in New Issue
Block a user