}
@Override
public PolygonWithHolesXZ getPolygon() {
PolygonXZ newOuter = polygon.getOuter();
newOuter = insertIntoPolygon(newOuter, ridge.p1, 0.2);
newOuter = insertIntoPolygon(newOuter, ridge.p2, 0.2);
newOuter = insertIntoPolygon(newOuter, cap1part.p1, 0.2);
newOuter = insertIntoPolygon(newOuter, cap1part.p2, 0.2);
newOuter = insertIntoPolygon(newOuter, cap2part.p1, 0.2);
newOuter = insertIntoPolygon(newOuter, cap2part.p2, 0.2);
//TODO: add intersections of additional edges with outline?
return new PolygonWithHolesXZ(
newOuter.asSimplePolygon(),
polygon.getHoles());
}