/*! \page geometrical_obj_prop_page Geometrical Object Types GetType function: The Type property of the geometrical object specifies the way the object has been created. It is an integer identifier that has a predefined value depending on the function type used for the object creation. The type of the object can be retrieved using the \b %GetType() function of the \b GEOM_Object interface. For example: the geometrical object created using MakeBox() functions has type equal to 7. The shape imported from the BREP, IGES, STEP or other CAD file, has type equal to 1. The possible values of the geometrical objects are listed in the table below:
IDSTRING
0COPY
1IMPORT
2POINT
3VECTOR
4PLANE
5LINE
6TORUS
7BOX
8CYLINDER
9CONE
10SPHERE
11PRISM
12REVOLUTION
13BOOLEAN
14PARTITION
15POLYLINE
16CIRCLE
17SPLINE
18ELLIPSE
19CIRC_ARC
20FILLET
21CHAMFER
22EDGE
23WIRE
24FACE
25SHELL
26SOLID
27COMPOUND
28SUBSHAPE
29PIPE
30ARCHIMEDE
31FILLING
32EXPLODE
33GLUED
34SKETCHER
35CDG
36FREE_BOUNDS
37GROUP
38BLOCK
39MARKER
40THRUSECTIONS
41COMPOUNDFILTER
42SHAPES_ON_SHAPE
43ELLIPSE_ARC
443DSKETCHER
45FILLET_2D
46FILLET_1D
201PIPETSHAPE
Also geompy.py module provides a helper function ShapeIdToType() that allows converting the geometrical object id value to its string representation. For example, the output of the following code: \code import salome salome.salome_init() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New(salome.myStudy) box = geompy.MakeBoxDXDYDZ(10,10,10) type = geompy.ShapeIdToType(box.GetType()) print type \endcode will be the "BOX" value. GetShapeType function: The ShapeType property specifies the geometrical object in terms of its topologic nature. The possible values are defined in the GEOM namespace: { COMPOUND, COMPSOLID, SOLID, SHELL, FACE, WIRE, EDGE, VERTEX, SHAPE }
This type can be retrieved using the \b %GetShapeType() function of the \b GEOM_Object interface. For example: \code import salome salome.salome_init() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New(salome.myStudy) box = geompy.MakeBoxDXDYDZ(10,10,10) type = box.GetShapeType() print type == GEOM.SOLID \endcode The result is "True". */