src/wordrec/chop.cpp
/**
 * @name new_max_point
 *
 * Found a new minimum point try to decide whether to save it or not.
 * Return the new value for the local minimum.  If a point is saved then
 * the local minimum is reset to nullptr.
 */
@name new_max_point
Found a new minimum point try to decide whether to save it or not.
Return the new value for the local minimum.  If a point is saved then
the local minimum is reset to nullptr.
@name new_max_point Found a new minimum point try to decide whether to save it or not . Return the new value for the local minimum . If a point is saved then the local minimum is reset to nullptr .
void Wordrec::new_max_point(EDGEPT *local_max, PointHeap *points) {
  int16_t dir;
  dir = direction(local_max);
  if (dir > 0) {
    add_point_to_list(points, local_max);
    return;
  }
  if (dir == 0 && point_priority(local_max) < 0) {
    add_point_to_list(points, local_max);
    return;
  }
}
void Wordrec :: new_max_point ( EDGEPT * local_max , PointHeap * points ) { int16_t dir ; dir = direction ( local_max ) ; if ( dir > 0 ) { add_point_to_list ( points , local_max ) ; return ; } if ( dir == 0 && point_priority ( local_max ) < 0 ) { add_point_to_list ( points , local_max ) ; return ; } }
@name new_max_point
 Found a new minimum point try to decide whether to save it or not.
@name new_max_point Found a new minimum point try to decide whether to save it or not .