From: vsr Date: Thu, 21 Jan 2010 06:48:29 +0000 (+0000) Subject: 0020654: [CEA 386] GetType() function: additional changes X-Git-Tag: PARAVIS_29012010~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=494747da19676494bb3a73081054c91256d686dd;p=modules%2Fgeom.git 0020654: [CEA 386] GetType() function: additional changes --- diff --git a/doc/salome/gui/GEOM/input/geometrical_object_properties.doc b/doc/salome/gui/GEOM/input/geometrical_object_properties.doc index 9b21c7792..d64a91071 100644 --- a/doc/salome/gui/GEOM/input/geometrical_object_properties.doc +++ b/doc/salome/gui/GEOM/input/geometrical_object_properties.doc @@ -10,7 +10,7 @@ The Type property of the geometrical object specifies the way the object has been created. It is an integer identifier that has predefined value depending on the function type used for the object creation. The type of the object can be retrieved using the -GetType() function. +\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, @@ -86,10 +86,14 @@ The above code prints "BOX" value. GetShapeType function: -There are the shape type in terms of its topology nature, possible -values are: { COMPOUND, COMPSOLID, SOLID, SHELL, FACE, WIRE, EDGE, -VERTEX, SHAPE }
-This type can be retrieved using geompy function GetShapeType(). +The ShapeType property specifies the geometrical object in terms of +its topology 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. Example code: \code @@ -100,6 +104,6 @@ type = geompy.GetShapeType() print type == GEOM.SOLID \endcode -The code above prints "True". +This code prints "True". */