grains.salome.Edge¶
-
class
grains.salome.
Edge
(edge, name)[source]¶ A shape corresponding to a curve, and bounded by a vertex at each extremity.
An
Edge
knows about theFace
it is part of, and the faces neighboring it.- Parameters
edge (GEOM_Object of shape type ‘EDGE’) – The main Salome object wrapped by this class.
name (str) – Name of the edge.
See also
Methods
__init__
(edge, name)Initialize self.
length
()Length of the edge.