Public Member Functions | |
| InsideMeshRule (int value) | |
| boolean | equals (java.lang.Object other) |
| int | hashCode () |
| java.lang.String | toString () |
Static Public Member Functions | |
| static InsideMeshRule | of (int value) |
Public Attributes | |
| final int | value |
Static Public Attributes | |
| static final InsideMeshRule | OddCrossings = new InsideMeshRule(0) |
| static final InsideMeshRule | PositiveWinding = new InsideMeshRule(1) |
how makeInsideMeshVolume decides whether a voxel is inside
The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.
| meshlib.InsideMeshRule.InsideMeshRule | ( | int | value | ) |
| boolean meshlib.InsideMeshRule.equals | ( | java.lang.Object | other | ) |
| int meshlib.InsideMeshRule.hashCode | ( | ) |
|
static |
Returns the named constant with this value, or a new instance if there's none.
| java.lang.String meshlib.InsideMeshRule.toString | ( | ) |
|
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
| final int meshlib.InsideMeshRule.value |