-// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
#include <Standard_Stream.hxx>
#include <GEOMImpl_ITransformOperations.hxx>
//Make a Python command
if (theCopy) {
GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeTranslationVectorDistance("
- << theObject << ", " << theVector << ", " << theDistance << ")";
+ << theObject << ", " << theVector << ", " << theDistance << ")";
SetErrorCode(OK);
return aCopy;
}
GEOM::TPythonDump(aFunction) << "geompy.TranslateVectorDistance("
- << theObject << ", " << theVector << ", " << theDistance << ", " << theCopy << ")";
+ << theObject << ", " << theVector << ", " << theDistance << ", " << theCopy << ")";
SetErrorCode(OK);
return theObject;
}
*/
//=============================================================================
Handle(GEOM_Object) GEOMImpl_ITransformOperations::Translate2D (Handle(GEOM_Object) theObject,
- Handle(GEOM_Object) theVector,
- double theStep1,
- Standard_Integer theNbTimes1,
- Handle(GEOM_Object) theVector2,
- double theStep2,
- Standard_Integer theNbTimes2)
+ Handle(GEOM_Object) theVector,
+ double theStep1,
+ Standard_Integer theNbTimes1,
+ Handle(GEOM_Object) theVector2,
+ double theStep2,
+ Standard_Integer theNbTimes2)
{
SetErrorCode(KO);
//=============================================================================
Handle(GEOM_Object) GEOMImpl_ITransformOperations::PositionAlongPath
(Handle(GEOM_Object) theObject, Handle(GEOM_Object) thePath,
- double theDistance, bool theCopy, bool theReverse)
+ double theDistance, bool theCopy, bool theReverse)
{
SetErrorCode(KO);
//Make a Python command
if (theCopy) {
GEOM::TPythonDump(aFunction) << aCopy << " = geompy.PositionAlongPath("
- << theObject << ", " << thePath << ", " << theDistance << ", " << theCopy << ", " << theReverse << ")";
+ << theObject << ", " << thePath << ", " << theDistance << ", " << theCopy << ", " << theReverse << ")";
SetErrorCode(OK);
return aCopy;
}
*/
//=============================================================================
Handle(GEOM_Object) GEOMImpl_ITransformOperations::Rotate2D (Handle(GEOM_Object) theObject,
- Handle(GEOM_Object) theAxis,
- double theAngle,
- Standard_Integer theNbTimes1,
- double theStep,
- Standard_Integer theNbTimes2)
+ Handle(GEOM_Object) theAxis,
+ double theAngle,
+ Standard_Integer theNbTimes1,
+ double theStep,
+ Standard_Integer theNbTimes2)
{
SetErrorCode(KO);
*/
//=============================================================================
Handle(GEOM_Object) GEOMImpl_ITransformOperations::RotateThreePoints (Handle(GEOM_Object) theObject,
- Handle(GEOM_Object) theCentPoint,
- Handle(GEOM_Object) thePoint1,
- Handle(GEOM_Object) thePoint2)
+ Handle(GEOM_Object) theCentPoint,
+ Handle(GEOM_Object) thePoint1,
+ Handle(GEOM_Object) thePoint2)
{
SetErrorCode(KO);
//Make a Python command
GEOM::TPythonDump(aFunction) << "geompy.TrsfOp.RotateThreePoints(" << theObject
- << ", " << theCentPoint << ", "<<thePoint1 << ", " << thePoint2 << ")";
+ << ", " << theCentPoint << ", "<<thePoint1 << ", " << thePoint2 << ")";
SetErrorCode(OK);
return theObject;
*/
//=============================================================================
Handle(GEOM_Object) GEOMImpl_ITransformOperations::RotateThreePointsCopy (Handle(GEOM_Object) theObject,
- Handle(GEOM_Object) theCentPoint,
- Handle(GEOM_Object) thePoint1,
- Handle(GEOM_Object) thePoint2)
+ Handle(GEOM_Object) theCentPoint,
+ Handle(GEOM_Object) thePoint1,
+ Handle(GEOM_Object) thePoint2)
{
SetErrorCode(KO);
//Make a Python command
GEOM::TPythonDump(aFunction) << aCopy << " = geompy.MakeRotationThreePoints(" << theObject
- << ", " << theCentPoint << ", "<<thePoint1 << ", " << thePoint2 << ")";
+ << ", " << theCentPoint << ", "<<thePoint1 << ", " << thePoint2 << ")";
SetErrorCode(OK);
return aCopy;