ENsetcoord {epanet2toolkit} | R Documentation |
Set coordinates for a node
ENsetcoord(nodeindex, x, y)
nodeindex |
index of nodes for which to set coords |
x |
coordinate |
y |
coordinate |
returns NULL invisibily on success or raises an error or warning
# path to Net1.inp example file included with this package inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp") ENopen( inp, "Net1.rpt") ENgetcoord(3) ENsetcoord(3,33,44) ENgetcoord(3) ENclose()