Static Public Attributes | |
| static const meshlib::InsideMeshRule | OddCrossings |
| static const meshlib::InsideMeshRule | PositiveWinding |
how makeInsideMeshVolume decides whether a voxel is inside
Generated from enum MR::InsideMeshRule. The constants are associated constants of this type.
|
static |
the surface is crossed an odd number of times on the way from the voxel to infinity, triangle orientation is ignored: enclosed cavities stay empty, nested layers alternate inside and outside, and overlapping parts of a self-intersecting surface cancel each other
|
static |
the winding number of the surface around the voxel is positive (for a mesh with outward normals): overlapping parts of a self-intersecting surface are united, a cavity stays empty if its triangles look inside it