1 -- Created on: 1993-06-15
2 -- Created by: Jean Yves LEBEY
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
22 class PaveSet from TopOpeBRepBuild
23 inherits LoopSet from TopOpeBRepBuild
26 -- class providing an exploration of a set of vertices to build edges.
27 -- It is similar to LoopSet from TopOpeBRepBuild where Loop is Pave.
33 Loop from TopOpeBRepBuild,
34 Pave from TopOpeBRepBuild,
35 ListOfPave from TopOpeBRepBuild,
36 ListIteratorOfListOfPave from TopOpeBRepBuild
40 Create(E : Shape from TopoDS) returns PaveSet from TopOpeBRepBuild;
41 ---Purpose: Create a Pave set on edge <E>. It contains <E> vertices.
43 RemovePV(me:in out; B : Boolean); -- particular case B = T/F : try/don't try
44 -- to remove Pave in Prepare() (T by default)
46 Append(me : in out; PV : Pave from TopOpeBRepBuild) is static;
47 ---Purpose: Add <PV> in the Pave set.
49 -- === start signature LoopSet
50 InitLoop(me : in out) is redefined;
51 MoreLoop(me) returns Boolean is redefined;
52 NextLoop(me : in out) is redefined;
53 Loop(me) returns Loop from TopOpeBRepBuild is redefined;
54 ---C++: return const &
55 -- === end signature LoopSet
57 Edge(me) returns Edge from TopoDS is static;
58 ---C++: return const &
60 HasEqualParameters(me : in out) returns Boolean is static;
61 EqualParameters(me) returns Real is static;
62 ClosedVertices(me : in out) returns Boolean is static;
64 Prepare(me : in out) is static private;
65 SortPave(myclass; Lin:ListOfPave; Lout:out ListOfPave);
69 myEdge : Edge from TopoDS;
70 myVertices : ListOfPave from TopOpeBRepBuild;
71 myVerticesIt : ListIteratorOfListOfPave from TopOpeBRepBuild;
72 myEdgeVertexIndex : Integer from Standard;
73 myEdgeVertexCount : Integer from Standard;
75 myHasEqualParameters : Boolean from Standard;
76 myEqualParameters : Real from Standard;
77 myClosed : Boolean from Standard;
78 myPrepareDone : Boolean from Standard;
81 end PaveSet from TopOpeBRepBuild;