|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.features.SumOfAnglesFE
public class SumOfAnglesFE
SumOfAnglesFE computes the total angle traversed by a stroke. This is done by calculating the angles formed by every three consecutive points in the path and summing them up. One of Rubine's features.
Constructor Summary | |
---|---|
SumOfAnglesFE()
|
Method Summary | |
---|---|
double |
apply(TimedStroke s)
Compute the total angle traversed by the stroke. |
String |
getName()
Return the name of this feature extractor. |
static double |
sumOfAngles(TimedStroke s)
Compute the total angle traversed by the stroke. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SumOfAnglesFE()
Method Detail |
---|
public double apply(TimedStroke s)
apply
in interface FeatureExtractor
public String getName()
getName
in interface FeatureExtractor
public static double sumOfAngles(TimedStroke s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |