Add method to get nodes in extent
This commit is contained in:
@@ -856,6 +856,11 @@ def get_major_node_coords(name: str, diameter: int) -> dict[str, dict[str, float
|
||||
result[node_id] = coord
|
||||
return result
|
||||
|
||||
def get_network_in_extent(name: str, x1: float, y1: float, x2: float, y2: float) -> dict[str, Any]:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
# DingZQ, 2024-12-08, get all links' start and end node
|
||||
# link_id:link_type:node_id1:node_id2
|
||||
def get_network_link_nodes(name: str) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user