Salome HOME
Merge from V5_1_main 10/06/2010
[modules/visu.git] / src / PIPELINE / VISU_CutSegmentPL.cxx
index 2e1fcfe11909d45dc04cfb3c4aa1e805103b253b..aa0087fe6233b7e5d8fcf1dfb9e29f7a8fa373d7 100644 (file)
@@ -1,7 +1,4 @@
-//  Copyright (C) 2007-2008  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
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  This library is free software; you can redistribute it and/or
 //  modify it under the terms of the GNU Lesser General Public
@@ -19,6 +16,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // File:    VISU_CutSegmentPL.hxx
 // Author:  Oleg UVAROV
 // Module : VISU
@@ -42,7 +40,7 @@ VISU_CutSegmentPL
 void
 VISU_CutSegmentPL
 ::DoShallowCopy(VISU_PipeLine *thePipeLine,
-               bool theIsCopyInput)
+                bool theIsCopyInput)
 {
   Superclass::DoShallowCopy(thePipeLine, theIsCopyInput);
 
@@ -77,8 +75,8 @@ VISU_CutSegmentPL
 void
 VISU_CutSegmentPL
 ::SetPoint1(vtkFloatingPointType theX,
-           vtkFloatingPointType theY,
-           vtkFloatingPointType theZ )
+            vtkFloatingPointType theY,
+            vtkFloatingPointType theZ )
 {
   myPoint1[0] = theX;
   myPoint1[1] = theY;
@@ -89,8 +87,8 @@ VISU_CutSegmentPL
 void
 VISU_CutSegmentPL
 ::GetPoint1(vtkFloatingPointType& theX,
-           vtkFloatingPointType& theY,
-           vtkFloatingPointType& theZ )
+            vtkFloatingPointType& theY,
+            vtkFloatingPointType& theZ )
 {
   theX = myPoint1[0];
   theY = myPoint1[1];
@@ -101,8 +99,8 @@ VISU_CutSegmentPL
 void
 VISU_CutSegmentPL
 ::SetPoint2(vtkFloatingPointType theX,
-           vtkFloatingPointType theY,
-           vtkFloatingPointType theZ )
+            vtkFloatingPointType theY,
+            vtkFloatingPointType theZ )
 {
   myPoint2[0] = theX;
   myPoint2[1] = theY;
@@ -113,8 +111,8 @@ VISU_CutSegmentPL
 void
 VISU_CutSegmentPL
 ::GetPoint2(vtkFloatingPointType& theX,
-           vtkFloatingPointType& theY,
-           vtkFloatingPointType& theZ )
+            vtkFloatingPointType& theY,
+            vtkFloatingPointType& theZ )
 {
   theX = myPoint2[0];
   theY = myPoint2[1];
@@ -202,15 +200,15 @@ VISU_CutSegmentPL
   }
 
   GetBoundProject(myBoundPrjLn, 
-                 aBounds, 
-                 myDirLn);
+                  aBounds, 
+                  myDirLn);
 
   VISU::Mul(myDirLn,
-           myBoundPrjLn[0],
-           myBasePnt);
+            myBoundPrjLn[0],
+            myBasePnt);
   
   CorrectPnt(myBasePnt,
-            aBounds);
+             aBounds);
 
   VISU_ScalarMapPL::Update();
 }