plugins.engines
Class FastWorley.SineSquared

java.lang.Object
  extended by plugins.engines.FastWorley.SineSquared
All Implemented Interfaces:
FastWorley.DistanceCalculation
Enclosing class:
FastWorley

protected class FastWorley.SineSquared
extends java.lang.Object
implements FastWorley.DistanceCalculation


Constructor Summary
protected FastWorley.SineSquared()
           
 
Method Summary
 double compare(double x1, double y1, double z1, double x2, double y2, double z2)
           
 double distanceToNth(double[] compareArray, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastWorley.SineSquared

protected FastWorley.SineSquared()
Method Detail

compare

public double compare(double x1,
                      double y1,
                      double z1,
                      double x2,
                      double y2,
                      double z2)
Specified by:
compare in interface FastWorley.DistanceCalculation

distanceToNth

public double distanceToNth(double[] compareArray,
                            int index)
Specified by:
distanceToNth in interface FastWorley.DistanceCalculation