org.jzy3d.plot3d.primitives.contour
Class DefaultLineStripMergePolicy
java.lang.Object
org.jzy3d.plot3d.primitives.contour.DefaultLineStripMergePolicy
- All Implemented Interfaces:
- ILineStripMergePolicy
public class DefaultLineStripMergePolicy
- extends java.lang.Object
- implements ILineStripMergePolicy
Tells if we should merge with any LineStrip according to a maximum distance
threshold
- Author:
- Martin Pernollet
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLineStripMergePolicy
public DefaultLineStripMergePolicy()
DefaultLineStripMergePolicy
public DefaultLineStripMergePolicy(double threshold)
mostMergeableIfAny
public LineStrip mostMergeableIfAny(LineStrip ls,
java.util.List<LineStrip> lines)
- Specified by:
mostMergeableIfAny
in interface ILineStripMergePolicy
mergeable
public boolean mergeable(LineStrip ls1,
LineStrip ls2)
- Specified by:
mergeable
in interface ILineStripMergePolicy
mergeScore
public double mergeScore(LineStrip ls1,
LineStrip ls2)
- Specified by:
mergeScore
in interface ILineStripMergePolicy