edu.umd.cfar.lamp.viper.gui.data.polygon
Class PolygonInterpolator
java.lang.Object
edu.umd.cfar.lamp.viper.gui.data.HelpInterpolate
edu.umd.cfar.lamp.viper.gui.data.polygon.PolygonInterpolator
- All Implemented Interfaces:
- Interpolator
- public class PolygonInterpolator
- extends HelpInterpolate
Interpolates two polygons. There are a lot of parameters possible
for how this should be done, and I don't pretend to have the
perfect 2d polygon morph here, so this should work better with
simpler polygons and between similar polygons.
XXX: for now, this just shifts the polygons
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolygonInterpolator
public PolygonInterpolator()
helpInterpolate
public ArbitraryIndexList helpInterpolate(java.lang.Object alpha,
java.lang.Object beta,
long between)
throws InterpolationException
- Description copied from class:
HelpInterpolate
- Return the
between
values between a and b.
- Specified by:
helpInterpolate
in class HelpInterpolate
- Parameters:
alpha
- beta
- between
-
- Returns:
-
- Throws:
InterpolationException