10 lines
300 B
Python
10 lines
300 B
Python
from tjnetwork import *
|
|
|
|
p = 'dev'
|
|
|
|
read_inp(p, f'./inp/net3.inp', '3')
|
|
open_project(p)
|
|
|
|
add_region(p, ChangeSet({'id': 'r', 'boundary': [(24.614,13.087), (24.835,11.069), (26.144,10.747), (27.290,11.543), (25.726,12.987), (24.614,13.087)]}))
|
|
links = get_links_on_region_boundary(p, 'r')
|
|
print(links) |