Package com.powsybl.sld.library
Class AnchorPoint
- java.lang.Object
-
- com.powsybl.sld.model.coordinate.Point
-
- com.powsybl.sld.library.AnchorPoint
-
public class AnchorPoint extends Point
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian , Franck Lecuyer , Thomas Adam
-
-
Constructor Summary
Constructors Constructor Description AnchorPoint(double x, double y, AnchorOrientation orientation)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnchorOrientation
getOrientation()
String
toString()
AnchorPoint
transformAnchorPoint(Orientation nodeOrientation, Component.Transformation nodeTransformation)
Apply transformation on anchorPoints-
Methods inherited from class com.powsybl.sld.model.coordinate.Point
createPointsList, distance, distanceSquare, getMiddlePoint, getShiftedPoint, getX, getY, pointsToDoubles, scale, setCoordinates, setCoordinates, setX, setY, shift, shiftX, shiftY
-
-
-
-
Constructor Detail
-
AnchorPoint
public AnchorPoint(double x, double y, AnchorOrientation orientation)
Constructor- Parameters:
x
- abscissay
- ordinateorientation
- connection orientation
-
-
Method Detail
-
getOrientation
public AnchorOrientation getOrientation()
-
transformAnchorPoint
public AnchorPoint transformAnchorPoint(Orientation nodeOrientation, Component.Transformation nodeTransformation)
Apply transformation on anchorPoints
-
-