MeshLib
 
Loading...
Searching...
No Matches
MRCalcDims.h File Reference
#include "MRVoxelsFwd.h"
#include <MRMesh/MRVector3.h>
#include <MRMesh/MRBox.h>

Go to the source code of this file.

Classes

struct  MR::OriginAndDimensions
 shift of zero voxel in 3D space and dimensions of voxel-grid More...
 

Namespaces

namespace  MR
 

Functions

OriginAndDimensions MR::calcOriginAndDimensions (const Box3f &box, float voxelSize)
 computes origin and dimensions of voxel-grid to cover given 3D box with given spacing (voxelSize)