SinFirstToLastAngleFeature Class Reference

The SinFirstToLastAngleFeature class calculates the sine of the angle between the first and last point. More...

#include <standardfeatures.h>

Inheritance diagram for SinFirstToLastAngleFeature:

StlFeatureInterface List of all members.

Public Member Functions

virtual const std::string & key () const
virtual const std::string & title () const
virtual const std::string & description () const
StlFeatureResultT calcValue (const StlStroke &stroke, bool *ok=0) const

Static Public Member Functions

static const std::string & classKey ()
static const std::string & classTitle ()
static const std::string & classDescription ()
static StlFeatureResultT classCalcValue (const StlStroke &stroke, bool *ok=0)

Detailed Description

The SinFirstToLastAngleFeature class calculates the sine of the angle between the first and last point.

From: Rubine, D. Specifying Gestures by Example. Computer Graphics 25, 4 (July 1991), 329-337. Page 333:

f7 = sin b = (ylast - yfirst) / f5
   = (ylast - yfirst)
     / sqrt( (xlast - x0)^2 + (ylast - y0)^2 )


Member Function Documentation

static const std::string& SinFirstToLastAngleFeature::classKey (  )  [inline, static]

virtual const std::string& SinFirstToLastAngleFeature::key (  )  const [inline, virtual]

Implements StlFeatureInterface.

static const std::string& SinFirstToLastAngleFeature::classTitle (  )  [inline, static]

virtual const std::string& SinFirstToLastAngleFeature::title (  )  const [inline, virtual]

Implements StlFeatureInterface.

const std::string & SinFirstToLastAngleFeature::classDescription (  )  [static]

virtual const std::string& SinFirstToLastAngleFeature::description (  )  const [inline, virtual]

Implements StlFeatureInterface.

StlFeatureResultT SinFirstToLastAngleFeature::classCalcValue ( const StlStroke stroke,
bool *  ok = 0 
) [static]

StlFeatureResultT SinFirstToLastAngleFeature::calcValue ( const StlStroke stroke,
bool *  ok = 0 
) const [inline, virtual]

Implements StlFeatureInterface.


The documentation for this class was generated from the following files:
Generated on Mon Jul 30 09:46:53 2007 for Digest by  doxygen 1.5.2