Class PolyLine.Builder
java.lang.Object
io.openems.edge.common.linecharacteristic.PolyLine.Builder
- Enclosing class:
- PolyLine
-
Method Summary
Modifier and TypeMethodDescriptionaddPoint
(double x, double y) Add a point to thePolyLine
PolyLine.Builder
.Add a point to thePolyLine
PolyLine.Builder
.build()
-
Method Details
-
addPoint
Add a point to thePolyLine
PolyLine.Builder
.- Parameters:
x
- the x valuey
- the y value- Returns:
- myself
-
addPoint
Add a point to thePolyLine
PolyLine.Builder
.- Parameters:
x
- the x valuey
- the y value- Returns:
- myself
-
build
-