public class PathLengthFE extends Object implements FeatureExtractor
| Constructor and Description |
|---|
PathLengthFE() |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(TimedStroke s)
Return the path length of a stroke by enumerating over the
points in the stroke and summing up the distances between every
two consecutive points.
|
String |
getName()
Return the name of this feature extractor.
|
static double |
pathLength(TimedStroke s)
Return the path length of a stroke by enumerating over the
points in the stroke and summing up the distances between every
two consecutive points.
|
public double apply(TimedStroke s)
apply in interface FeatureExtractorpublic String getName()
getName in interface FeatureExtractorpublic static final double pathLength(TimedStroke s)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.