1 // Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 #include "OCCViewer_ClipPlane.h"
28 Constructor of class OrientedPlane
30 OrientedPlane::OrientedPlane():
39 Operator of another OrientedPlane assignment.
40 @param other the OrientedPlane to assign.
41 @return the assigned OrientedPlane.
43 OrientedPlane& OrientedPlane::operator = ( const OrientedPlane& other )
45 Orientation = other.Orientation;
46 Distance = other.Distance;
47 Rotation1 = other.Rotation1;
48 Rotation2 = other.Rotation2;
51 OCCViewer_ClipPlane::OCCViewer_ClipPlane() :
53 X (0.0), Y (0.0), Z (0.0),
54 Dx(1.0), Dy(1.0), Dz(1.0),
63 Operator of another OCCViewer_ClipPlane assignment.
64 @param other the OCCViewer_ClipPlane to assign.
65 @return the assigned OCCViewer_ClipPlane.
67 OCCViewer_ClipPlane& OCCViewer_ClipPlane::operator = ( const OCCViewer_ClipPlane& other )
69 RelativeMode = other.RelativeMode;
76 Orientation = other.Orientation;
77 IsInvert = other.IsInvert;
78 PlaneMode = other.PlaneMode;