Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BOPTools / BOPTools_SSIntersectionAttribute.cxx
CommitLineData
7fd59977 1// File: BOPTools_SSIntersectionAttribute.cxx
2// Created: Mon Mar 4 12:05:23 2002
3// Author: Michael KLOKOV
4// <mkk@kurox>
5
6
7#include <BOPTools_SSIntersectionAttribute.ixx>
8//=======================================================================
9// function: BOPTools_SSIntersectionAttribute
10// purpose:
11//=======================================================================
12BOPTools_SSIntersectionAttribute::BOPTools_SSIntersectionAttribute(const Standard_Boolean Aproximation,
13 const Standard_Boolean PCurveOnS1,
14 const Standard_Boolean PCurveOnS2)
15{
16 myApproximation = Aproximation;
17 myPCurve1 = PCurveOnS1;
18 myPCurve2 = PCurveOnS2;
19}
20//=======================================================================
21// function: Approximation
22// purpose:
23//=======================================================================
24void BOPTools_SSIntersectionAttribute::Approximation(const Standard_Boolean theFlag)
25{
26 myApproximation = theFlag;
27}
28//=======================================================================
29// function: PCurveOnS1
30// purpose:
31//=======================================================================
32void BOPTools_SSIntersectionAttribute::PCurveOnS1(const Standard_Boolean theFlag)
33{
34 myPCurve1 = theFlag;
35}
36//=======================================================================
37// function: PCurveOnS2
38// purpose:
39//=======================================================================
40void BOPTools_SSIntersectionAttribute::PCurveOnS2(const Standard_Boolean theFlag)
41{
42 myPCurve2 = theFlag;
43}
44