Point getPointForID ( int id ) { for ( int i = 0 ; i < pointCount ; i ++ ) { if ( id == - 1 || points [ i ] . id == id ) { return points [ i ] ; } } return null ; }
Gets the Point matching the given ID . if available