double minHeight, MeshFactory mesh, TextureData textureData) { boolean isClockwisePolygon = !PolygonUtil.isClockwisePolygon(wallPoints);
/** * Make mesh of vertical wall e.g. It is wall under the roof. * * @param stripPoints * the strip points * @param minHeight * the strip minimal height * @param stripPointHeights * the strip points heights * @param mesh * the mesh * @param textureData * the texture data */ public static void makeRoofBorderMesh(List<Point2d> stripPoints, double minHeight, List<Double> stripPointHeights, MeshFactory mesh, TextureData textureData) { StripMeshFactoryUtil.verticalStripMesh(stripPoints, // new StripMeshFactoryUtil.ConstHeightProvider(minHeight),// new StripMeshFactoryUtil.ListHeightProvider(stripPointHeights), // mesh, // textureData, // true, // !PolygonUtil.isClockwisePolygon(stripPoints)); }
if (PolygonUtil.isClockwisePolygon(outlineList)) { outlineList = PolygonList2d.reverse(outlineList);
if (PolygonUtil.isClockwisePolygon(outlineList)) { outlineList = PolygonList2d.reverse(outlineList);