grains.salome.Interface

class grains.salome.Interface(edge, name, neighboring_faces)[source]

An edge between two faces.

Similar to an Edge, but two neighboring Face objects share a common Interface. An Interface 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.

See also

Edge, Face

__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.