public NodeTypes ENgetnodetype ( int index ) throws EpanetException { int [ ] typecode = new int [ 1 ] ; int error = epanet . ENgetnodetype ( index , typecode ) ; checkError ( error ) ; NodeTypes type = NodeTypes . forCode ( typecode [ 0 ] ) ; return type ; }
Retrieves the node - type code for a specific node .