Package com.powsybl.sld.library
Class AnchorPoint
- java.lang.Object
-
- com.powsybl.sld.model.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 AnchorPoint
createRotatedAnchorPoint(Double rotationAngle)
Rotate the anchorPointsAnchorOrientation
getOrientation()
String
toString()
-
Methods inherited from class com.powsybl.sld.model.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()
-
createRotatedAnchorPoint
public AnchorPoint createRotatedAnchorPoint(Double rotationAngle)
Rotate the anchorPoints
-
-