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.
18 #include <TopOpeBRepBuild_Pave.hxx>
20 IMPLEMENT_STANDARD_RTTIEXT(TopOpeBRepBuild_Pave,TopOpeBRepBuild_Loop)
22 //=======================================================================
23 //function : TopOpeBRepBuild_Pave
25 //=======================================================================
26 TopOpeBRepBuild_Pave::TopOpeBRepBuild_Pave
27 (const TopoDS_Shape& V, const Standard_Real P, const Standard_Boolean B) :
28 TopOpeBRepBuild_Loop(V),
29 myVertex(V),myParam(P),myIsShape(B),myHasSameDomain(Standard_False),myIntType(TopOpeBRepDS_FACE)
33 //=======================================================================
34 //function : HasSameDomain
36 //=======================================================================
38 void TopOpeBRepBuild_Pave::HasSameDomain(const Standard_Boolean B)
43 //=======================================================================
44 //function : SameDomain
46 //=======================================================================
48 void TopOpeBRepBuild_Pave::SameDomain(const TopoDS_Shape& VSD)
53 //=======================================================================
54 //function : HasSameDomain
56 //=======================================================================
58 Standard_Boolean TopOpeBRepBuild_Pave::HasSameDomain() const
60 return myHasSameDomain;
63 //=======================================================================
64 //function : SameDomain
66 //=======================================================================
68 const TopoDS_Shape& TopOpeBRepBuild_Pave::SameDomain() const
73 //=======================================================================
76 //=======================================================================
78 const TopoDS_Shape& TopOpeBRepBuild_Pave::Vertex() const
83 //=======================================================================
84 //function : ChangeVertex
86 //=======================================================================
88 TopoDS_Shape& TopOpeBRepBuild_Pave::ChangeVertex()
93 //=======================================================================
94 //function : Parameter
96 //=======================================================================
98 Standard_Real TopOpeBRepBuild_Pave::Parameter() const
103 //modified by NIZHNY-MZV Mon Feb 21 14:11:40 2000
104 //=======================================================================
105 //function : Parameter
107 //=======================================================================
108 void TopOpeBRepBuild_Pave::Parameter(const Standard_Real Par)
113 //=======================================================================
116 //=======================================================================
118 Standard_Boolean TopOpeBRepBuild_Pave::IsShape() const
123 //=======================================================================
126 //=======================================================================
128 const TopoDS_Shape& TopOpeBRepBuild_Pave::Shape() const
133 //=======================================================================
136 //=======================================================================
138 void TopOpeBRepBuild_Pave::Dump() const
141 std::cout<<Parameter()<<" ";TopAbs::Print(Vertex().Orientation(),std::cout);
145 //modified by NIZHNY-MZV Mon Feb 21 14:27:48 2000
146 //=======================================================================
147 //function : ChangeVertex
149 //=======================================================================
151 TopOpeBRepDS_Kind& TopOpeBRepBuild_Pave::InterferenceType()