}
public Polygon[] getLRDrahts(Draht draht, Line line, Point p)
{
Polygon poly = draht.getPolygon();
PolyPoint startPoly=draht.getPoint(0);
PolyPoint endPoly=draht.getPoint(draht.getPolySize()-1);
Point startP=new Point(startPoly.getX(),startPoly.getY());
Point endP=new Point(endPoly.getX(),endPoly.getY());
Polygon leftLine=Tools.copyPolygon(poly, startP, line.getStartPoint());
Polygon rightLine=Tools.copyPolygon(poly, line.getEndPoint(), endP);