grains.salome.Interface¶
-
class
grains.salome.
Interface
(edge, name, neighboring_faces)[source]¶ An edge between two faces.
Similar to an
Edge
, but two neighboringFace
objects share a commonInterface
. AnInterface
knows about the two faces that it separates.- Parameters
edge (GEOM_Object of shape type ‘EDGE’) – The main Salome object wrapped by this class.
name (str) – Name of the interface.
neighboring_faces (list of Face) – The two neighboring faces.
-
__init__
(edge, name, neighboring_faces)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(edge, name, neighboring_faces)Initialize self.
length
()Length of the interface.