gustaf.create.edges.from_vertices#

gustaf.create.edges.from_vertices(vertices, closed=False, continuous=True)[source]#

Creates Edges with given vertices. If close==True, last vertices will be connected to the first one. If continuous==False, it assumes that every two vertices form an independent line.

Parameters:
  • vertices ((n, d) np.ndarray or Vertices)

  • close (bool)

  • continuous (bool)

Returns:

edges

Return type:

Edges