Package com.powsybl.sld.layout
Class PositionVoltageLevelLayout
- java.lang.Object
-
- com.powsybl.sld.layout.AbstractLayout
-
- com.powsybl.sld.layout.AbstractVoltageLevelLayout
-
- com.powsybl.sld.layout.PositionVoltageLevelLayout
-
- All Implemented Interfaces:
Layout
public class PositionVoltageLevelLayout extends AbstractVoltageLevelLayout
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian , Franck Lecuyer
-
-
Field Summary
-
Fields inherited from class com.powsybl.sld.layout.AbstractVoltageLevelLayout
infosNbSnakeLines
-
-
Constructor Summary
Constructors Constructor Description PositionVoltageLevelLayout(VoltageLevelGraph graph, GraphRefiner graphRefiner, CellDetector cellDetector, BlockOrganizer blockOrganizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(LayoutParameters layoutParam)
Layout the nodes: - adapt the graph to have the expected patterns - detect the cells (intern / extern / shunt) - organize the cells into blocks - calculate real coordinate of busNode 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
-
PositionVoltageLevelLayout
public PositionVoltageLevelLayout(VoltageLevelGraph graph, GraphRefiner graphRefiner, CellDetector cellDetector, BlockOrganizer blockOrganizer)
-
-
Method Detail
-
run
public void run(LayoutParameters layoutParam)
Layout the nodes: - adapt the graph to have the expected patterns - detect the cells (intern / extern / shunt) - organize the cells into blocks - calculate real coordinate of busNode and blocks connected to busbar
-
-