diva.sketch.toolbox
Class RemoveDupPtsStrokeFilter
java.lang.Object
diva.sketch.toolbox.StrokeFilter
diva.sketch.toolbox.RemoveDupPtsStrokeFilter
public class RemoveDupPtsStrokeFilter
- extends StrokeFilter
Remove all duplicate adjacent points from a
timed stroke. Useful for algorithms that are
sensitive to redundant points of this type.
- Version:
- $Revision: 1.2 $
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveDupPtsStrokeFilter
public RemoveDupPtsStrokeFilter()
apply
public TimedStroke apply(TimedStroke s)
- Remove all duplicate adjacent points from a
timed stroke.
- Specified by:
apply
in class StrokeFilter
removeDupPts
public static TimedStroke removeDupPts(TimedStroke s)
- Remove all duplicate adjacent points from a
timed stroke.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.