Package com.powsybl.sld.layout
Class RandomVoltageLevelLayout
- java.lang.Object
-
- com.powsybl.sld.layout.AbstractLayout
-
- com.powsybl.sld.layout.AbstractVoltageLevelLayout
-
- com.powsybl.sld.layout.RandomVoltageLevelLayout
-
- All Implemented Interfaces:
VoltageLevelLayout
public class RandomVoltageLevelLayout extends AbstractVoltageLevelLayout
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian
-
-
Field Summary
-
Fields inherited from class com.powsybl.sld.layout.AbstractVoltageLevelLayout
infosNbSnakeLines
-
-
Constructor Summary
Constructors Constructor Description RandomVoltageLevelLayout(VoltageLevelGraph graph, double width, double height, Random random)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(LayoutParameters layoutParam)
Calculate real coordinate of busbar and blocks connected to busbar-
Methods inherited from class com.powsybl.sld.layout.AbstractVoltageLevelLayout
calculatePolylineSnakeLine, getGraph, manageSnakeLines
-
Methods inherited from class com.powsybl.sld.layout.AbstractLayout
calculatePolylineSnakeLineForHorizontalLayout, getHeightSnakeLines, getNodeDirection, getWidthVerticalSnakeLines, manageSnakeLines, splitPolyline2, splitPolyline3
-
-
-
-
Constructor Detail
-
RandomVoltageLevelLayout
public RandomVoltageLevelLayout(VoltageLevelGraph graph, double width, double height, Random random)
-
-
Method Detail
-
run
public void run(LayoutParameters layoutParam)
Description copied from interface:VoltageLevelLayout
Calculate real coordinate of busbar and blocks connected to busbar
-
-