question: @ SuppressWarnings ( "unused" ) public float snapToNotches ( float value ) { if ( this . mNotchesCount == 0 ) return value ; float deltaAngle = this . mPathLength / this . mNotchesCount ; return Math . round ( value / deltaAngle ) * deltaAngle ; }
target:  Round the value near the closed notch.