for (final RoadSegment roadSegment : roadNetwork) {
final RoadMapping roadMapping = roadSegment.roadMapping();
for (final Vehicle vehicle : roadSegment) {
// TODO quick hack here,no correction for offsets
final RoadMapping.PolygonFloat polygon = roadMapping.mapFloat(vehicle, simulationTime);
path.reset();
path.moveTo(polygon.xPoints[0], polygon.yPoints[0]);
path.lineTo(polygon.xPoints[1], polygon.yPoints[1]);
path.lineTo(polygon.xPoints[2], polygon.yPoints[2]);
path.lineTo(polygon.xPoints[3], polygon.yPoints[3]);
path.closePath();