[][src]Function opencv::ovis::create_grid_mesh

pub fn create_grid_mesh(name: &str, size: Size2f, segments: Size) -> Result<()>

creates a grid

creates a material with the same name

Parameters

  • name: name of the mesh
  • size: extents of the grid
  • segments: number of segments per side

C++ default parameters

  • segments: Size(1,1)