mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 18:00:35 +05:00
NPAL 12483 Translate an object given a vector and a length
This commit is contained in:
parent
bc48fafff3
commit
1749a765c0
@ -474,6 +474,20 @@ module GEOM
|
|||||||
GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
|
GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
|
||||||
in GEOM_Object theVector);
|
in GEOM_Object theVector);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Translate the given object along the given vector on given distance,
|
||||||
|
* creating its copy before the translation.
|
||||||
|
* \param theObject The object to be translated.
|
||||||
|
* \param theVector Translation vector, giving a direction.
|
||||||
|
* \param theDistance Translation distance, giving a distance.
|
||||||
|
* \param theCope Translation copy, creating its copy if true.
|
||||||
|
* \return New GEOM_Object, containing the translated object.
|
||||||
|
*/
|
||||||
|
GEOM_Object TranslateVectorDistance (in GEOM_Object theObject,
|
||||||
|
in GEOM_Object theVector,
|
||||||
|
in double theDistance,
|
||||||
|
in boolean theCopy);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Translate the given object along the given vector a given number times
|
* Translate the given object along the given vector a given number times
|
||||||
* \param theObject The object to be translated.
|
* \param theObject The object to be translated.
|
||||||
|
@ -249,6 +249,10 @@ module GEOM
|
|||||||
in GEOM_Object theVector) ;
|
in GEOM_Object theVector) ;
|
||||||
GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
|
GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
|
||||||
in GEOM_Object theVector) ;
|
in GEOM_Object theVector) ;
|
||||||
|
GEOM_Object TranslateVectorDistance (in GEOM_Object theObject,
|
||||||
|
in GEOM_Object theVector,
|
||||||
|
in double theDistance,
|
||||||
|
in boolean theCopy) ;
|
||||||
GEOM_Object MultiTranslate1D (in GEOM_Object theObject,
|
GEOM_Object MultiTranslate1D (in GEOM_Object theObject,
|
||||||
in GEOM_Object theVector,
|
in GEOM_Object theVector,
|
||||||
in double theStep,
|
in double theStep,
|
||||||
|
Loading…
Reference in New Issue
Block a user