MeshLib
 
Loading...
Searching...
No Matches
MRRegularGridMesh.h File Reference
#include "MRMeshFwd.h"
#include "MRMesh.h"
#include "MRVector3.h"
#include "MRProgressCallback.h"
#include "MRExpected.h"
#include <functional>

Go to the source code of this file.

Namespaces

namespace  MR
 

Typedefs

using MR::RegularGridLatticeValidator = std::function<bool( size_t x, size_t y )>
 
using MR::RegularGridLatticePositioner = std::function<Vector3f( size_t x, size_t y )>
 
using MR::RegularGridMeshFaceValidator
 

Functions

MRMESH_API Expected< MeshMR::makeRegularGridMesh (size_t width, size_t height, const RegularGridLatticeValidator &validator, const RegularGridLatticePositioner &positioner, const RegularGridMeshFaceValidator &faceValidator={}, ProgressCallback cb={})
 
MRMESH_API Expected< MeshMR::makeRegularGridMesh (VertCoords pc, ProgressCallback cb={})