filters according to type . concode_field_sep double mTolerance concode_elem_sep boolean[] keep concode_elem_sep float mScaleRatio concode_elem_sep ApproximatorType mType concode_elem_sep float mDeltaRatio concode_field_sep void algorithmDouglasPeucker concode_elem_sep void setRatios concode_elem_sep double calcPointToLineDistance concode_elem_sep double calcAngleBetweenLines concode_elem_sep void setup concode_elem_sep List<Entry> reduceWithDouglasPeuker concode_elem_sep double calcAngleWithRatios concode_elem_sep void setType concode_elem_sep void setTolerance concode_elem_sep double calcAngle
List < Entry > function ( List < Entry > arg0 , double arg1 ) { if ( arg1 <= 0 ) return arg0 ; keep = new boolean [ arg0 . size ( ) ] ; switch ( mType ) { case DOUGLAS_PEUCKER : return reduceWithDouglasPeuker ( arg0 , arg1 ) ; case NONE : return arg0 ; default : return arg0 ; } }