Wildmeshing Toolkit
to_points.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 
4 #include <wmtk/Mesh.hpp>
5 
6 namespace wmtk::components {
7 
9 {
10 public:
11  bool add_box;
12  double box_scale;
13  bool add_grid;
14  double grid_spacing;
15  double min_dist;
17 };
18 
19 std::shared_ptr<PointMesh> to_points(
20  const Mesh& mesh,
21  const attribute::MeshAttributeHandle& pts_attr,
22  const ToPtsOptions& options,
23  const std::string& output_pos_attr_name = "vertices");
24 
25 } // namespace wmtk::components
std::shared_ptr< PointMesh > to_points(const Mesh &mesh, const attribute::MeshAttributeHandle &pts_attr, const ToPtsOptions &options, const std::string &output_pos_attr_name)
Definition: to_points.cpp:16