geometry_weld_mesh
Welds points of a single input mesh up to a given distance threshold, i.e., points of similar coordinates are merged into a single representation.
References:
arguments
- "mesh_name" : String
Name of the mesh object. Must be a Triangle_mesh or Polygon_mesh object.
- "point_representative" : String (default: "best_fit")
This option defines how representative of a cluster should be computed. If set to "centroid", all points falling into the cluster are averaged. If set to "best_fit", the welder aims at minimizing the integrated geometric error and preserving the enclosed volume.The first variant is slightly faster, but should only be used for very small tolerance values.If the tolerance is set to zero, this option will be ignored.
- "point_tolerance" : Float64 (default: 0)
Tolerance default value used for geometry welding, i.e., the maximum allowed distance of points to be merged into a single point.
- "welded_mesh_name" : String
Name of Triangle_mesh object to create by welding the input mesh.