GeometryTools

Tools to process Geometries, such as detecting errors and correcting them. However, if possible, we recommend the use of more advanced software, i.e. MeshLab. MeshLab can be used to correct facet representations or to convert other datatypes to STL.

Interface

  template <typename T>
  void fixGeometry(Geometry<T> &geometry,    
		   const T sampleSize = 1.0)  
Fix a potentially incorrect Geometry. Selecting a smaller "sampleSize" will result in more facets in the resulting Geometry.

Extra Information

Fixing Geometries

The procedure to fix geometries is described in this paper. The "sampleSize" parameter corresponds to the "voxelSize" parameter in the Voxelizer.