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 the Face 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.

__init__(edge, name)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(edge, name)

Initialize self.

length()

Length of the edge.