edu.uci.ics.jung.algorithms.layout3d
Class SpringLayout.UnitLengthFunction<E>
java.lang.Object
edu.uci.ics.jung.algorithms.layout3d.SpringLayout.UnitLengthFunction<E>
- All Implemented Interfaces:
- SpringLayout.LengthFunction<E>
- Enclosing class:
- SpringLayout<V,E>
public static final class SpringLayout.UnitLengthFunction<E>
- extends Object
- implements SpringLayout.LengthFunction<E>
Returns all edges as the same length: the input value
- Author:
- danyelf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringLayout.UnitLengthFunction
public SpringLayout.UnitLengthFunction(int length)
getLength
public double getLength(E e)
- Specified by:
getLength
in interface SpringLayout.LengthFunction<E>
Copyright © 2009. All Rights Reserved.