Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetcoord: Get coordinates for a node

Description

Get coordinates for a node

Usage

ENgetcoord(nodeindex)

Value

vector of x,y coordinate

Arguments

nodeindex

of node

Examples

Run this code
# 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)
ENclose()

Run the code above in your browser using DataLab