src/wordrec/gradechop.cpp
PRIORITY Wordrec::grade_sharpness(SPLIT *split) {
  PRIORITY grade;

  grade = point_priority(split->point1) + point_priority(split->point2);

  if (grade < -360.0) {
    grade = 0;
  } else {
    grade += 360.0;
  }

  grade *= chop_sharpness_knob; /* Values 0 to -360 */

  return (grade);
}
/**********************************************************************
 * grade_sharpness
 *
 * Return a grade for the sharpness of this split.
 *   0    =  "perfect"
 *   100  =  "no way jay"
 **********************************************************************/
grade_sharpness
Return a grade for the sharpness of this split.
grade_sharpness Return a grade for the sharpness of this split .
PRIORITY Wordrec::grade_sharpness(SPLIT *split) {
  PRIORITY grade;
  grade = point_priority(split->point1) + point_priority(split->point2);
  if (grade < -360.0) {
    grade = 0;
  } else {
    grade += 360.0;
  }
  grade *= chop_sharpness_knob; 
  return (grade);
}
PRIORITY Wordrec :: grade_sharpness ( SPLIT * split ) { PRIORITY grade ; grade = point_priority ( split -> point1 ) + point_priority ( split -> point2 ) ; if ( grade < -360.0 ) { grade = 0 ; } else { grade += 360.0 ; } grade *= chop_sharpness_knob ; return ( grade ) ; }
grade_sharpness
 Return a grade for the sharpness of this split.
grade_sharpness Return a grade for the sharpness of this split .
/* Values 0 to -360 */