MeshLib C++ Docs
Loading...
Searching...
No Matches
MRNestingStructures.h
Go to the documentation of this file.
1#pragma once
2#include "MRMesh/MRMeshFwd.h"
4#include "MRMesh/MRBox.h"
5
6namespace MR
7{
10
11
12namespace Nesting
13{
14
16{
18 AffineXf3f xf;
19
21 bool nested{ false };
22};
23
24struct MeshXf
25{
27 const Mesh* mesh{ nullptr };
29 AffineXf3f xf;
30};
31
33{
35 Box3f nest;
36
38 float minInterval{ 0.01f };
39};
40
41}
42
43}
Box3f nest
available nest
Definition MRNestingStructures.h:35
AffineXf3f xf
best found xf for this object (might be equal with input xf if no good nesting was found)
Definition MRNestingStructures.h:18
AffineXf3f xf
input mesh world transformation before nesting
Definition MRNestingStructures.h:29
const Mesh * mesh
input mesh - should not be nullptr
Definition MRNestingStructures.h:27
bool nested
false - means that this object does not fit the nest
Definition MRNestingStructures.h:21
float minInterval
minimum space among meshes in the nest
Definition MRNestingStructures.h:38
Definition MRNesting3mfExport.h:20
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23
Definition MRNestingStructures.h:25
Definition MRNestingStructures.h:33
Definition MRNestingStructures.h:16