From 494747da19676494bb3a73081054c91256d686dd Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 21 Jan 2010 06:48:29 +0000 Subject: [PATCH] 0020654: [CEA 386] GetType() function: additional changes --- .../GEOM/input/geometrical_object_properties.doc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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". */ -- 2.39.2