ENsetcoord {epanet2toolkit} | R Documentation |
Set coordinates for a node
Description
Set coordinates for a node
Usage
ENsetcoord(nodeindex, x, y)
Arguments
nodeindex |
index of nodes for which to set coords |
x |
coordinate |
y |
coordinate |
Value
returns NULL invisibily on success or raises an error or warning
Examples
# 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()
[Package epanet2toolkit version 1.0.5 Index]