Package com.powsybl.sld.svg
Class WireConnection
- java.lang.Object
-
- com.powsybl.sld.svg.WireConnection
-
public final class WireConnection extends Object
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian , Franck Lecuyer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Point>
calculatePolylinePoints(Node node1, Node node2, boolean straight, Point vlGraphCoord)
AnchorPoint
getAnchorPoint1()
AnchorPoint
getAnchorPoint2()
static List<AnchorPoint>
getAnchorPoints(ComponentLibrary componentLibrary, Node node)
static AnchorPoint
getBestAnchorPoint(ComponentLibrary componentLibrary, Graph graph, Node node, Point point)
static WireConnection
searchBestAnchorPoints(ComponentLibrary componentLibrary, VoltageLevelGraph graph, Node node1, Node node2)
-
-
-
Method Detail
-
getAnchorPoints
public static List<AnchorPoint> getAnchorPoints(ComponentLibrary componentLibrary, Node node)
-
searchBestAnchorPoints
public static WireConnection searchBestAnchorPoints(ComponentLibrary componentLibrary, VoltageLevelGraph graph, Node node1, Node node2)
-
getBestAnchorPoint
public static AnchorPoint getBestAnchorPoint(ComponentLibrary componentLibrary, Graph graph, Node node, Point point)
-
getAnchorPoint1
public AnchorPoint getAnchorPoint1()
-
getAnchorPoint2
public AnchorPoint getAnchorPoint2()
-
-