Sfoglia il codice sorgente

Update voxel_grid.h (#2441)

Clarify the documentation
evouga 11 mesi fa
parent
commit
a221faf1e4
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      include/igl/voxel_grid.h

+ 4 - 1
include/igl/voxel_grid.h

@@ -31,7 +31,10 @@ namespace igl
     Eigen::PlainObjectBase<DerivedGV> & GV,
     Eigen::PlainObjectBase<Derivedside> & side);
   /// \overload
-  /// @param[in]  offset  offset to add to each cell center
+  /// Constructs the voxel grid to fit around a given set of points.
+  ///
+  /// @param[in] V  points that must lie within the grid
+  /// @param[in] offset  distance to pad each side of V's bounding box when determining the extents of the voxel grid.
   template <
     typename DerivedV,
     typename DerivedGV,