Salome HOME
0022686: [CEA 1268] Explode a shape into edges sorted in a row from a starting point
[modules/geom.git] / src / GEOMImpl / GEOMImpl_Types.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 5182f8c..fcfb87f
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -18,6 +18,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 
 // GEOM_Object types
@@ -49,8 +50,6 @@
 #define GEOM_CIRC_ARC 19
 
 #define GEOM_FILLET    20
-#define GEOM_FILLET_2D 45
-#define GEOM_FILLET_1D 46
 #define GEOM_CHAMFER   21
 
 #define GEOM_EDGE  22
 
 #define GEOM_EXTRUDED_BOSS 47
 
+#define GEOM_PIPE_PATH 48
+
+#define GEOM_THICKENING 49
+
+#define GEOM_FILLET_2D 50
+#define GEOM_FILLET_1D 51
+
+#define GEOM_FIELD      52  // == GEOM_FIELD_OBJTYPE constant
+#define GEOM_FIELD_STEP 53  // == GEOM_FIELD_STEP_OBJTYPE constant
+
+#define GEOM_ISOLINE   55
+
+#define GEOM_POLYLINE2D 56
+
 //GEOM_Function types
 
 #define COPY_WITH_REF    1
 #define COPY_WITHOUT_REF 2
 
-#define EXPORT_SHAPE 1
 #define IMPORT_SHAPE 1
+#define EXPORT_SHAPE 2
 
 #define POINT_XYZ                1
 #define POINT_XYZ_REF            2
 #define ROTATE_2D                 4
 #define ROTATE_THREE_POINTS       5
 #define ROTATE_THREE_POINTS_COPY  6
+#define ROTATE_1D_STEP            7
 
 #define MIRROR_PLANE      1
 #define MIRROR_PLANE_COPY 2
 
 #define OFFSET_SHAPE      1
 #define OFFSET_SHAPE_COPY 2
+#define OFFSET_THICKENING 3
+#define OFFSET_THICKENING_COPY 4
 
-#define PROJECTION_COPY 1
+#define PROJECTION_COPY    1
+#define PROJECTION_ON_WIRE 2
 
 #define SCALE_SHAPE      1
 #define SCALE_SHAPE_COPY 2
 #define DISK_THREE_PNT    2
 #define DISK_R            3
 
-#define CYLINDER_R_H         1
-#define CYLINDER_PNT_VEC_R_H 2
+#define CYLINDER_R_H           1
+#define CYLINDER_PNT_VEC_R_H   2
+#define CYLINDER_R_H_A         3
+#define CYLINDER_PNT_VEC_R_H_A         4
 
 #define CONE_R1_R2_H         1
 #define CONE_PNT_VEC_R1_R2_H 2
 #define PIPE_SHELLS_WITHOUT_PATH 4
 #define PIPE_BI_NORMAL_ALONG_VECTOR 5
 
+// RestorePath
+#define PIPE_PATH_TWO_BASES 1
+#define PIPE_PATH_TWO_SEQS  2
+
 #define THRUSECTIONS_RULED 1
 #define THRUSECTIONS_SMOOTHED 2
 
-#define BOOLEAN_COMMON  1
-#define BOOLEAN_CUT     2
-#define BOOLEAN_FUSE    3
-#define BOOLEAN_SECTION 4
+#define BOOLEAN_COMMON      1
+#define BOOLEAN_CUT         2
+#define BOOLEAN_FUSE        3
+#define BOOLEAN_SECTION     4
+#define BOOLEAN_COMMON_LIST 5
+#define BOOLEAN_CUT_LIST    6
+#define BOOLEAN_FUSE_LIST   7
 
 #define PARTITION_PARTITION 1
 #define PARTITION_HALF      2
 #define PARTITION_NO_SELF_INTERSECTIONS 3
 
-#define POLYLINE_POINTS 1
+#define POLYLINE_POINTS       1
+#define POLYLINE2D_PLN_COORDS 2
+#define POLYLINE2D_PLN_OBJECT 3
 
-#define SPLINE_BEZIER        1
-#define SPLINE_INTERPOLATION 2
+#define SPLINE_BEZIER            1
+#define SPLINE_INTERPOLATION     2
+#define SPLINE_INTERPOL_TANGENTS 3
 
 #define CIRCLE_THREE_PNT 1
 #define CIRCLE_PNT_VEC_R 2
 #define WIRE_EDGES          1
 #define FACE_WIRE           2
 #define SHELL_FACES         3
-#define SOLID_SHELL         4
+//#define SOLID_SHELL         4
 #define SOLID_SHELLS        5
 #define COMPOUND_SHAPES     6
 #define SUBSHAPE_SORTED     7
 //#define REVERSE_ORIENTATION 10
 #define EDGE_WIRE           11
 #define EDGE_CURVE_LENGTH   12
+#define SHAPES_ON_SHAPE     13
+#define SHAPE_ISOLINE       14
+
 
 #define ARCHIMEDE_TYPE 1
 
 #define DIVIDE_EDGE        7
 #define CHANGE_ORIENTATION 8
 #define LIMIT_TOLERANCE    9
-#define FUSE_COLLINEAR_EDGES 10
+#define FUSE_COLLINEAR_EDGES  10
+#define SEWING_NON_MANIFOLD   11
+#define REMOVE_INTERNAL_FACES 12
 
 #define BASIC_FILLING 1
 
 
 // Measures
 #define CDG_MEASURE 1
+#define BND_BOX_MEASURE 2
+#define BND_BOX_MEASURE_PRECISE 3
 #define VECTOR_FACE_NORMALE 4
 #define VERTEX_BY_INDEX 5
 
 #define GROUP_FUNCTION 1
 
-#define SHAPES_ON_SHAPE 1
-
 // Curve constructor type
 #define POINT_CONSTRUCTOR 0
 #define COORD_CONSTRUCTOR 1
 #define BLOCK_COMPOUND_GLUE       8
 #define BLOCK_REMOVE_EXTRA        9
 #define BLOCK_COMPOUND_IMPROVE    10
+#define BLOCK_UNION_FACES         11
 
 // Marker
 #define MARKER_CS      1
 #define MARKER_SHAPE   2
 #define MARKER_PNT2VEC 3
 
-// Advanced functions (base = 200)
-#define ADVANCED_BASE 200  // NO OPERATION (advanced operations base)
-#define GEOM_TSHAPE 201
-#define GEOM_DIVIDEDDISK 202
-#define GEOM_DIVIDEDCYLINDER 203
-/*@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@*/
-// Advanced functions sub-operations codes
-#define TSHAPE_BASIC 1
-#define TSHAPE_CHAMFER 2
-#define TSHAPE_FILLET 3
-#define DIVIDEDDISK_R_RATIO 1
-#define DIVIDEDDISK_R_VECTOR_PNT 2
-#define DIVIDEDCYLINDER_R_H 1
-/*@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@*/
+// Advanced functions
+#define USER_TYPE 200     // Base type for GEOM advanced shapes
+#define USER_TYPE_EX 1000 // Base type for GEOM plugins
+
+
+//Plugins specified constants
+#define PLUGIN_NAME "Plugin Name"