segmentHeights.add(segmentHeight.getEndHeight()); StripMeshFactoryUtil.verticalStripMesh(segment, // new StripMeshFactoryUtil.ConstHeightProvider(minHeight),// new StripMeshFactoryUtil.ListHeightProvider(segmentHeights), //
/** * 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)); }