MeshLib Java Docs
Loading...
Searching...
No Matches

Public Member Functions

 CutMeshParameters_ForceFill (int value)
boolean equals (java.lang.Object other)
int hashCode ()
java.lang.String toString ()

Static Public Member Functions

static CutMeshParameters_ForceFill of (int value)

Public Attributes

final int value

Static Public Attributes

static final CutMeshParameters_ForceFill None = new CutMeshParameters_ForceFill(0)
static final CutMeshParameters_ForceFill All = new CutMeshParameters_ForceFill(1)
static final CutMeshParameters_ForceFill SplitCrossings = new CutMeshParameters_ForceFill(2)

Detailed Description

This enum defines the MR::cutMesh behaviour in case bad faces occur: basically MR::cutMesh removes all faces which contours pass through, adds new edges to topology and fills all removed parts

Note
Bad faces here mean faces where contours have intersections and cannot be cut and filled in a good way

The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.

Constructor & Destructor Documentation

◆ CutMeshParameters_ForceFill()

meshlib.CutMeshParameters_ForceFill.CutMeshParameters_ForceFill ( int value)

Member Function Documentation

◆ equals()

boolean meshlib.CutMeshParameters_ForceFill.equals ( java.lang.Object other)

◆ hashCode()

int meshlib.CutMeshParameters_ForceFill.hashCode ( )

◆ of()

CutMeshParameters_ForceFill meshlib.CutMeshParameters_ForceFill.of ( int value)
static

Returns the named constant with this value, or a new instance if there's none.

◆ toString()

java.lang.String meshlib.CutMeshParameters_ForceFill.toString ( )

Member Data Documentation

◆ All

final CutMeshParameters_ForceFill meshlib.CutMeshParameters_ForceFill.All = new CutMeshParameters_ForceFill(1)
static

< bad faces are filled too, but their triangulation can be bad (may have self-intersections or tunnels)

◆ None

final CutMeshParameters_ForceFill meshlib.CutMeshParameters_ForceFill.None = new CutMeshParameters_ForceFill(0)
static

< if bad faces occur, nothing is filled

◆ SplitCrossings

final CutMeshParameters_ForceFill meshlib.CutMeshParameters_ForceFill.SplitCrossings = new CutMeshParameters_ForceFill(2)
static

as All, but with sortData the contours are first split where they cross in bad faces (see CutMeshResult.resultCut); where the split fails, as All: e.g. in a face where an open contour ends on a side of the face, or a contour segment ends at a mesh vertex that is not a corner of the triangle of the other mesh along the segment (unlike the fold vertices of selfBoolean)

◆ value

final int meshlib.CutMeshParameters_ForceFill.value

The documentation for this class was generated from the following file: