X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Fgeometrical_object_properties.doc;h=a5b55449a48b9800ab95c1579ac168770d2b7334;hb=00621ab4f35ece96476fc358acf598d78ec0a95d;hp=78de472cd9bffe33086bbf6e082a0c22ea5ee026;hpb=004197ec827d52331f0d529202eb4e52a1c4388f;p=modules%2Fgeom.git
diff --git a/doc/salome/gui/GEOM/input/geometrical_object_properties.doc b/doc/salome/gui/GEOM/input/geometrical_object_properties.doc
index 78de472cd..a5b55449a 100644
--- a/doc/salome/gui/GEOM/input/geometrical_object_properties.doc
+++ b/doc/salome/gui/GEOM/input/geometrical_object_properties.doc
@@ -1,14 +1,12 @@
/*!
-\page geometrical_obj_prop_page Geometrical Object Properties
-
-
Geometrical Object Types
+\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 predefined value depending on the function type used for the
+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.
@@ -67,13 +65,13 @@ The possible values of the geometrical objects are listed in the table below:
44 | 3DSKETCHER |
45 | FILLET_2D |
46 | FILLET_1D |
+ 201 | PIPETSHAPE |
Also geompy.py module provides a helper function ShapeIdToType()
-that allows converting of the geometrical object type id value
-to its string representation.
+that allows converting the geometrical object id value to its string representation.
-For example:
+For example, the output of the following code:
\code
import geompy
box = geompy.MakeBoxDXDYDZ(10,10,10)
@@ -81,12 +79,12 @@ type = geompy.ShapeIdToType(box.GetType())
print type
\endcode
-The above code prints "BOX" value.
+will be the "BOX" value.
GetShapeType function:
The ShapeType property specifies the geometrical object in terms of
-its topology nature.
+its topologic nature.
The possible values are defined in the GEOM namespace: { COMPOUND, COMPSOLID,
SOLID, SHELL, FACE, WIRE, EDGE, VERTEX, SHAPE }
@@ -94,7 +92,7 @@ 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:
+For example:
\code
import geompy
import GEOM
@@ -103,6 +101,6 @@ type = box.GetShapeType()
print type == GEOM.SOLID
\endcode
-This code prints "True".
+The result is "True".
*/