public int [ ] ENgetlinknodes ( int index ) throws EpanetException { int [ ] from = new int [ 1 ] ; int [ ] to = new int [ 1 ] ; int error = epanet . ENgetlinknodes ( index , from , to ) ; checkError ( error ) ; return new int [ ] { from [ 0 ] , to [ 0 ] } ; }
Retrieves the indexes of the end nodes of a specified link .