#include "MRMeshFwd.h"#include "MRVector3.h"#include "MRProgressCallback.h"#include "MRExpected.h"#include <functional>Go to the source code of this file.
Namespaces | |
| namespace | MR |
| only for bindings generation | |
Typedefs | |
| using | MR::RegularGridLatticeValidator = std::function<bool( size_t x, size_t y )> |
| Lambda for validating grid lattice. | |
| using | MR::RegularGridLatticePositioner = std::function<Vector3f( size_t x, size_t y )> |
| Lambda for getting lattice position. | |
| using | MR::RegularGridMeshFaceValidator |
| Lambda for validating mesh face. | |
Functions | |
| MRMESH_API Expected< Mesh > | MR::makeRegularGridMesh (size_t width, size_t height, const RegularGridLatticeValidator &validator, const RegularGridLatticePositioner &positioner, const RegularGridMeshFaceValidator &faceValidator={}, ProgressCallback cb={}) |
| Creates regular mesh with points in valid grid lattice. | |
| MRMESH_API Expected< Mesh > | MR::makeRegularGridMesh (VertCoords pc, ProgressCallback cb={}) |
| Creates regular mesh from monotone (connects point with closed x, y neighbors) points. | |