private CTDPt getDPtFromListWithIndex ( final List < CTDPt > dptList , final int index ) { if ( dptList != null ) { for ( CTDPt dpt : dptList ) { if ( dpt . getIdx ( ) . getVal ( ) == index ) { return dpt ; } } } return null ; }
get dpt from list .