13using RegularGridLatticeValidator = std::function<bool(
size_t x,
size_t y )>;
15using RegularGridLatticePositioner = std::function<Vector3f(
size_t x,
size_t y )>;
17using RegularGridMeshFaceValidator =
18 std::function<bool(
size_t x0,
size_t y0,
size_t x1,
size_t y1,
size_t x2,
size_t y2 )>;
22 const RegularGridLatticeValidator& validator,
23 const RegularGridLatticePositioner& positioner,
24 const RegularGridMeshFaceValidator& faceValidator = {},
25 ProgressCallback cb = {} );
#define MRMESH_API
Definition MRMeshFwd.h:80
auto width(const Box< V > &box)
returns size along x axis
Definition MRMesh/MRBox.h:354
auto height(const Box< V > &box)
returns size along y axis
Definition MRMesh/MRBox.h:361
Definition MRCameraOrientationPlugin.h:8
MRMESH_API Expected< Mesh > makeRegularGridMesh(size_t width, size_t height, const RegularGridLatticeValidator &validator, const RegularGridLatticePositioner &positioner, const RegularGridMeshFaceValidator &faceValidator={}, ProgressCallback cb={})