1 // Created on: 1994-11-14
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <TopOpeBRepBuild_Pave.ixx>
20 //=======================================================================
21 //function : TopOpeBRepBuild_Pave
23 //=======================================================================
25 TopOpeBRepBuild_Pave::TopOpeBRepBuild_Pave
26 (const TopoDS_Shape& V, const Standard_Real P, const Standard_Boolean B) :
27 TopOpeBRepBuild_Loop(V),
28 myVertex(V),myParam(P),myIsShape(B),myHasSameDomain(Standard_False),myIntType(TopOpeBRepDS_FACE)
32 //=======================================================================
33 //function : HasSameDomain
35 //=======================================================================
37 void TopOpeBRepBuild_Pave::HasSameDomain(const Standard_Boolean B)
42 //=======================================================================
43 //function : SameDomain
45 //=======================================================================
47 void TopOpeBRepBuild_Pave::SameDomain(const TopoDS_Shape& VSD)
52 //=======================================================================
53 //function : HasSameDomain
55 //=======================================================================
57 Standard_Boolean TopOpeBRepBuild_Pave::HasSameDomain() const
59 return myHasSameDomain;
62 //=======================================================================
63 //function : SameDomain
65 //=======================================================================
67 const TopoDS_Shape& TopOpeBRepBuild_Pave::SameDomain() const
72 //=======================================================================
75 //=======================================================================
77 const TopoDS_Shape& TopOpeBRepBuild_Pave::Vertex() const
82 //=======================================================================
83 //function : ChangeVertex
85 //=======================================================================
87 TopoDS_Shape& TopOpeBRepBuild_Pave::ChangeVertex()
92 //=======================================================================
93 //function : Parameter
95 //=======================================================================
97 Standard_Real TopOpeBRepBuild_Pave::Parameter() const
102 //modified by NIZHNY-MZV Mon Feb 21 14:11:40 2000
103 //=======================================================================
104 //function : Parameter
106 //=======================================================================
107 void TopOpeBRepBuild_Pave::Parameter(const Standard_Real Par)
112 //=======================================================================
115 //=======================================================================
117 Standard_Boolean TopOpeBRepBuild_Pave::IsShape() const
122 //=======================================================================
125 //=======================================================================
127 const TopoDS_Shape& TopOpeBRepBuild_Pave::Shape() const
132 //=======================================================================
135 //=======================================================================
137 void TopOpeBRepBuild_Pave::Dump() const
140 cout<<Parameter()<<" ";TopAbs::Print(Vertex().Orientation(),cout);
144 //modified by NIZHNY-MZV Mon Feb 21 14:27:48 2000
145 //=======================================================================
146 //function : ChangeVertex
148 //=======================================================================
150 TopOpeBRepDS_Kind& TopOpeBRepBuild_Pave::InterferenceType()