0029069: Samples - handle UNICODE filenames within C++/CLI CSharp sample
[occt.git] / src / BOPAlgo / BOPAlgo_SectionAttribute.cxx
CommitLineData
b311480e 1// Created on: 2002-03-04
2// Created by: Michael KLOKOV
973c2be1 3// Copyright (c) 2002-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 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
973c2be1 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.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
7fd59977 15
42cf5bc1 16
17#include <BOPAlgo_SectionAttribute.hxx>
18
7fd59977 19//=======================================================================
4e57c75e 20// function: BOPAlgo_SectionAttribute
7fd59977 21// purpose:
22//=======================================================================
4e57c75e 23BOPAlgo_SectionAttribute::BOPAlgo_SectionAttribute(const Standard_Boolean Aproximation,
24 const Standard_Boolean PCurveOnS1,
25 const Standard_Boolean PCurveOnS2)
7fd59977 26{
27 myApproximation = Aproximation;
28 myPCurve1 = PCurveOnS1;
29 myPCurve2 = PCurveOnS2;
30}
31//=======================================================================
32// function: Approximation
33// purpose:
34//=======================================================================
4e57c75e 35void BOPAlgo_SectionAttribute::Approximation(const Standard_Boolean theFlag)
7fd59977 36{
37 myApproximation = theFlag;
38}
39//=======================================================================
40// function: PCurveOnS1
41// purpose:
42//=======================================================================
4e57c75e 43void BOPAlgo_SectionAttribute::PCurveOnS1(const Standard_Boolean theFlag)
7fd59977 44{
45 myPCurve1 = theFlag;
46}
47//=======================================================================
48// function: PCurveOnS2
49// purpose:
50//=======================================================================
4e57c75e 51void BOPAlgo_SectionAttribute::PCurveOnS2(const Standard_Boolean theFlag)
7fd59977 52{
53 myPCurve2 = theFlag;
54}
55