]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src/TopAbs.i
PipeRun reverse action
[simantics/3d.git] / org.jcae.opencascade / src / TopAbs.i
1 /*
2  * Project Info:  http://jcae.sourceforge.net
3  * 
4  * This program is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License as published by the Free
6  * Software Foundation; either version 2.1 of the License, or (at your option)
7  * any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program; if not, write to the Free Software Foundation, Inc.,
16  * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17  *
18  * (C) Copyright 2005, by EADS CRC
19  */
20
21 /**
22  * Shape_Enum
23  */
24 // rename ShapeEnum so it match first implementation of libOccJava
25 %rename(COMPOUND) TopAbs_COMPOUND;
26 %rename(COMPSOLID) TopAbs_COMPSOLID;
27 %rename(SOLID) TopAbs_SOLID;
28 %rename(SHELL) TopAbs_SHELL;
29 %rename(FACE) TopAbs_FACE;
30 %rename(WIRE) TopAbs_WIRE;
31 %rename(EDGE) TopAbs_EDGE;
32 %rename(VERTEX) TopAbs_VERTEX;
33 %rename(SHAPE) TopAbs_SHAPE;
34         
35 enum TopAbs_ShapeEnum 
36 {
37         TopAbs_COMPOUND,
38         TopAbs_COMPSOLID,
39         TopAbs_SOLID,
40         TopAbs_SHELL,
41         TopAbs_FACE,
42         TopAbs_WIRE,
43         TopAbs_EDGE,
44         TopAbs_VERTEX,
45         TopAbs_SHAPE
46 };
47
48 %rename(FORWARD) TopAbs_FORWARD;
49 %rename(REVERSED) TopAbs_REVERSED;
50 %rename(INTERNAL) TopAbs_INTERNAL;
51 %rename(EXTERNAL) TopAbs_EXTERNAL;
52 enum TopAbs_Orientation
53 {
54         TopAbs_FORWARD,
55         TopAbs_REVERSED,
56         TopAbs_INTERNAL,
57         TopAbs_EXTERNAL
58 };