Package com.powsybl.sld.force.layout
Class Spring
- java.lang.Object
-
- com.powsybl.sld.force.layout.Spring
-
public class Spring extends Object
- Author:
- Mathilde Grapin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
double
getLength()
Point
getNode1()
Point
getNode2()
double
getStiffness()
int
hashCode()
void
toSVG(PrintWriter printWriter, Canvas canvas)
-
-
-
Method Detail
-
getNode1
public Point getNode1()
-
getNode2
public Point getNode2()
-
getLength
public double getLength()
-
getStiffness
public double getStiffness()
-
toSVG
public void toSVG(PrintWriter printWriter, Canvas canvas)
-
-