0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx
[occt.git] / src / BRepFill / BRepFill_Section.cdl
CommitLineData
b311480e 1-- Created on: 1998-07-22
2-- Created by: Philippe MANGIN
3-- Copyright (c) 1998-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
23private class Section from BRepFill
24
25 ---Purpose: To store section definition
26uses
27 Shape from TopoDS,
28 Wire from TopoDS,
29 Vertex from TopoDS
30
31is
32 Create returns Section from BRepFill;
33
34 Create (Profile : Shape from TopoDS;
35 V : Vertex from TopoDS;
36 WithContact : Boolean ;
37 WithCorrection : Boolean)
38 returns Section from BRepFill;
39
40 Set(me : in out; IsLaw : Boolean);
41
42 Wire(me)
43 ---C++: return const &
44 ---C++: inline
45 returns Wire from TopoDS;
46
47 Vertex(me)
48 ---C++: return const &
49 ---C++: inline
50 returns Vertex from TopoDS;
51
52 IsLaw(me)
53 ---C++: inline
54 returns Boolean;
55
56 WithContact(me)
57 ---C++: inline
58 returns Boolean;
59
60 WithCorrection(me)
61 ---C++: inline
62 returns Boolean;
63
64
65
66fields
67 wire : Wire from TopoDS;
68 vertex : Vertex from TopoDS;
69 islaw : Boolean;
70 contact : Boolean;
71 correction:Boolean;
72end Section;