Program Listing for File hill_mesh.h

Return to documentation for file (src/ridge_impl/hill_mesh.h)

#pragma once

#include <map>      // for map
#include <utility>  // for pair

#include "primitives/hexagon.h"     // for Hexagon
#include "primitives/pentagon.h"    // for Pentagon
#include "ridge_impl/ridge_mesh.h"  // for RidgeMesh, RidgeHexMeshParams

namespace sota {

class HillMesh : public RidgeMesh {
 public:
  HillMesh(Hexagon hex, RidgeHexMeshParams params) : RidgeMesh(hex, params) {}
  HillMesh(Pentagon pentagon, RidgePentagonMeshParams params) : RidgeMesh(pentagon, params) {}
  void calculate_final_heights(DiscreteVertexToDistance& distance_map, float diameter, int divisions) override;
};

}  // namespace sota