1 // Created on: 2002-03-04
2 // Created by: Michael KLOKOV
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #include <BOPAlgo_SectionAttribute.ixx>
17 //=======================================================================
18 // function: BOPAlgo_SectionAttribute
20 //=======================================================================
21 BOPAlgo_SectionAttribute::BOPAlgo_SectionAttribute(const Standard_Boolean Aproximation,
22 const Standard_Boolean PCurveOnS1,
23 const Standard_Boolean PCurveOnS2)
25 myApproximation = Aproximation;
26 myPCurve1 = PCurveOnS1;
27 myPCurve2 = PCurveOnS2;
29 //=======================================================================
30 // function: Approximation
32 //=======================================================================
33 void BOPAlgo_SectionAttribute::Approximation(const Standard_Boolean theFlag)
35 myApproximation = theFlag;
37 //=======================================================================
38 // function: PCurveOnS1
40 //=======================================================================
41 void BOPAlgo_SectionAttribute::PCurveOnS1(const Standard_Boolean theFlag)
45 //=======================================================================
46 // function: PCurveOnS2
48 //=======================================================================
49 void BOPAlgo_SectionAttribute::PCurveOnS2(const Standard_Boolean theFlag)