public class WireConnection extends Object
Modifier and Type | Method and Description |
---|---|
List<Double> |
calculatePolylinePoints(BaseNode node1,
BaseNode node2,
boolean straight) |
AnchorPoint |
getAnchorPoint1() |
AnchorPoint |
getAnchorPoint2() |
static List<AnchorPoint> |
getAnchorPoints(AnchorPointProvider anchorPointProvider,
BaseNode node) |
static WireConnection |
searchBetterAnchorPoints(AnchorPointProvider anchorPointProvider,
BaseNode node1,
BaseNode node2) |
static WireConnection |
searchBetterAnchorPoints(AnchorPointProvider anchorPointProvider,
BaseNode node1,
double x,
double y) |
public static List<AnchorPoint> getAnchorPoints(AnchorPointProvider anchorPointProvider, BaseNode node)
public static WireConnection searchBetterAnchorPoints(AnchorPointProvider anchorPointProvider, BaseNode node1, BaseNode node2)
public static WireConnection searchBetterAnchorPoints(AnchorPointProvider anchorPointProvider, BaseNode node1, double x, double y)
public AnchorPoint getAnchorPoint1()
public AnchorPoint getAnchorPoint2()
Copyright © 2020. All rights reserved.