geom.edge.create

Syntax

e = geom.edge.create(g,n1,n2)

Create an edge. The nodes can either be specified by their IDs or as node pointers. The nodes must already exist.

Returns:

e - edge pointer

Arguments:

g - geometry set pointer

n1 - ID or node pointer of node 1

n2 - ID or node pointer of node 2