Classes | |
struct | MR::SubdivideSettings |
Functions | |
MRMESH_API int | MR::subdivideMesh (Mesh &mesh, const SubdivideSettings &settings={}) |
MRMESH_API Expected< Mesh > | MR::copySubdividePackMesh (const MeshPart &mp, float voxelSize, const ProgressCallback &cb={}) |
|
nodiscard |
creates a copy of given mesh part, subdivides it to get rid of too long edges compared with voxelSize, then packs resulting mesh, this is called typically in preparation for 3D space sampling with voxelSize step, and subdivision is important for making leaves of AABB tree not too big compared with voxelSize
MRMESH_API int MR::subdivideMesh | ( | Mesh & | mesh, |
const SubdivideSettings & | settings = {} ) |
splits edges in mesh region according to the settings;