ENgetcoord: Get coordinates for a node

View source: R/coords.r

ENgetcoordR Documentation

Get coordinates for a node

Description

Get coordinates for a node

Usage

ENgetcoord(nodeindex)

Arguments

nodeindex

of node

Value

vector of x,y coordinate

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)
ENclose()

epanet2toolkit documentation built on Nov. 6, 2023, 9:06 a.m.