// (c) MIT 2003.  All rights reserved.

////////////////////////////////////////////////////////////////////////////////
//
// FILE:        GeoFunction.java
//
// AUTHOR:      Luke Weisman and Manoj D. Muzumdar
//              luke@ai.mit.edu and archon@ai.mit.edu
//
// DATE:        06-XX-98
//
// COPYRIGHT:   Massachusetts Institute of Technology
//              All rights reserved.
//
// PURPOSE:     Drawing recognition system
//
// HISTORY:
//
////////////////////////////////////////////////////////////////////////////////

package rec.sys;

import rec.sys.*;

/**
 * This is used by the GeometryCalculator and is applied to the
 *   list of visible widgets to grab a useful widget as defined by
 *   this function.
 *
 */
public interface GeoFunction
{
  /**
   * Return if this widget works for the function.
   */
  boolean check( VisibleWidget w );
}

////////////////////////////////////////////////////////////////////////////////
