public class VerticalSubstationLayout extends AbstractSubstationLayout
AbstractSubstationLayout.InfosNbSnakeLines
graph, vLayoutFactory
Constructor and Description |
---|
VerticalSubstationLayout(SubstationGraph graph,
VoltageLevelLayoutFactory vLayoutFactory) |
Modifier and Type | Method and Description |
---|---|
protected Coord |
calculateCoordVoltageLevel(LayoutParameters layoutParam,
Graph vlGraph)
Calculate relative coordinate of voltageLevels in the substation
|
protected List<Double> |
calculatePolylineSnakeLine(LayoutParameters layoutParam,
Node node1,
Node node2,
AbstractSubstationLayout.InfosNbSnakeLines infosNbSnakeLines,
boolean increment) |
protected double |
getHorizontalSubstationPadding(LayoutParameters layoutParameters) |
protected double |
getVerticalSubstationPadding(LayoutParameters layoutParameters) |
getNodeDirection, run
public VerticalSubstationLayout(SubstationGraph graph, VoltageLevelLayoutFactory vLayoutFactory)
protected Coord calculateCoordVoltageLevel(LayoutParameters layoutParam, Graph vlGraph)
calculateCoordVoltageLevel
in class AbstractSubstationLayout
protected List<Double> calculatePolylineSnakeLine(LayoutParameters layoutParam, Node node1, Node node2, AbstractSubstationLayout.InfosNbSnakeLines infosNbSnakeLines, boolean increment)
calculatePolylineSnakeLine
in class AbstractSubstationLayout
protected double getHorizontalSubstationPadding(LayoutParameters layoutParameters)
getHorizontalSubstationPadding
in class AbstractSubstationLayout
protected double getVerticalSubstationPadding(LayoutParameters layoutParameters)
getVerticalSubstationPadding
in class AbstractSubstationLayout
Copyright © 2019. All rights reserved.