@@ -58,6 +58,9 @@ namespace geode
5858 [[nodiscard]] std::unique_ptr< TriangulatedSurface2D > opengeode_mesh_api
5959 convert_grid_into_triangulated_surface ( const Grid2D& grid );
6060
61+ [[nodiscard]] std::unique_ptr< PolygonalSurface2D > opengeode_mesh_api
62+ convert_grid_into_polygonal_surface ( const Grid2D& grid );
63+
6164 [[nodiscard]] std::unique_ptr< TriangulatedSurface2D > opengeode_mesh_api
6265 convert_grid_into_densified_triangulated_surface ( const Grid2D& grid,
6366 absl::Span< const geode::index_t > cells_to_densify );
@@ -71,32 +74,33 @@ namespace geode
7174
7275 [[nodiscard]] std::unique_ptr< SurfaceMesh3D > opengeode_mesh_api
7376 convert_surface_mesh2d_into_3d ( const SurfaceMesh2D& surface2d,
74- index_t axis_to_add,
77+ local_index_t axis_to_add,
7578 double axis_coordinate );
7679
7780 [[nodiscard]] std::unique_ptr< SurfaceMesh2D >
7881 opengeode_mesh_api convert_surface_mesh3d_into_2d (
79- const SurfaceMesh3D& surface3d, index_t axis_to_remove );
82+ const SurfaceMesh3D& surface3d, local_index_t axis_to_remove );
8083
8184 [[nodiscard]] std::unique_ptr< PolygonalSurface3D >
8285 opengeode_mesh_api convert_polygonal_surface2d_into_3d (
8386 const PolygonalSurface2D& surface2d,
84- index_t axis_to_add,
87+ local_index_t axis_to_add,
8588 double axis_coordinate );
8689
8790 [[nodiscard]] std::unique_ptr< PolygonalSurface2D >
8891 opengeode_mesh_api convert_polygonal_surface3d_into_2d (
89- const PolygonalSurface3D& surface3d, index_t axis_to_remove );
92+ const PolygonalSurface3D& surface3d, local_index_t axis_to_remove );
9093
9194 [[nodiscard]] std::unique_ptr< TriangulatedSurface3D >
9295 opengeode_mesh_api convert_triangulated_surface2d_into_3d (
9396 const TriangulatedSurface2D& surface2d,
94- index_t axis_to_add,
97+ local_index_t axis_to_add,
9598 double axis_coordinate );
9699
97100 [[nodiscard]] std::unique_ptr< TriangulatedSurface2D >
98101 opengeode_mesh_api convert_triangulated_surface3d_into_2d (
99- const TriangulatedSurface3D& surface3d, index_t axis_to_remove );
102+ const TriangulatedSurface3D& surface3d,
103+ local_index_t axis_to_remove );
100104
101105 template < index_t dimension >
102106 [[nodiscard]] std::unique_ptr< SurfaceMesh< dimension > >
0 commit comments