0023429: BRepFeat_SplitShape algorithm misses some section edges while building resul...
[occt.git] / src / LocOpe / LocOpe_ProjectedWires.cdl
CommitLineData
b311480e 1-- Created on: 1996-01-08
2-- Created by: Jacques GOUSSARD
3-- Copyright (c) 1996-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
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.
10--
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.
13--
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.
20
7fd59977 21
22
23deferred class ProjectedWires from LocOpe inherits TShared from MMgt
24
25 ---Purpose:
26
27uses Face from TopoDS,
28 Wire from TopoDS,
29 Edge from TopoDS,
ed60a55e 30 Vertex from TopoDS,
31 Shape from TopoDS
7fd59977 32
33is
34
35 InitEdgeIterator(me: mutable)
36
37 is deferred;
38
39
40 MoreEdge(me: mutable)
41 returns Boolean from Standard
42 is deferred;
43
44
45 Edge(me: mutable)
46 returns Edge from TopoDS
47 is deferred;
48
49
50 OnFace(me: mutable)
51 ---Purpose: Returns the face of the shape on which the current
52 -- edge is projected.
53 returns Face from TopoDS
54 is deferred;
55
56
57 OnEdge(me: mutable; E: out Edge from TopoDS)
58 ---Purpose: If the current edge is projected on an edge,
59 -- returns <Standard_True> and sets the value of <E>.
60 -- Otherwise, returns <Standard_False>.
61 returns Boolean from Standard
62 is deferred;
63
64
65 NextEdge(me: mutable)
66
67 is deferred;
68
69
70 OnVertex(me: mutable; Vwire : Vertex from TopoDS;
71 Vshape: out Vertex from TopoDS)
72
73 returns Boolean from Standard
74 is deferred;
75
76
77 OnEdge(me: mutable; V: Vertex from TopoDS;
78 E: out Edge from TopoDS;
79 P: out Real from Standard)
80 ---Purpose: If the vertex <V> lies on an edge of the original
81 -- shape, returns <Standard_True> and sets the
82 -- concerned edge in <E>, and the parameter on the
83 -- edge in <P>.
84 -- Else returns <Standard_False>.
85 returns Boolean from Standard
86 is deferred;
87
ed60a55e 88 IsFaceWithSection(me; aFace : Shape from TopoDS)
89 ---Purpose: tells is the face to be split by section or not
90 returns Boolean from Standard
91 is deferred;
7fd59977 92
93end ProjectedWires;