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

Public Member Functions

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

Static Public Member Functions

static SignDetectionModeShort of (int value)

Public Attributes

final int value

Static Public Attributes

static final SignDetectionModeShort Auto = new SignDetectionModeShort(0)
static final SignDetectionModeShort HoleWindingNumber = new SignDetectionModeShort(1)
static final SignDetectionModeShort ProjectionNormal = new SignDetectionModeShort(2)

Detailed Description

how to determine the sign of distances from a mesh, short version including auto-detection

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

◆ SignDetectionModeShort()

meshlib.SignDetectionModeShort.SignDetectionModeShort ( int value)

Member Function Documentation

◆ equals()

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

◆ hashCode()

int meshlib.SignDetectionModeShort.hashCode ( )

◆ of()

SignDetectionModeShort meshlib.SignDetectionModeShort.of ( int value)
static

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

◆ toString()

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

Member Data Documentation

◆ Auto

final SignDetectionModeShort meshlib.SignDetectionModeShort.Auto = new SignDetectionModeShort(0)
static

< automatic selection of the fastest method among safe options for the current mesh

◆ HoleWindingNumber

final SignDetectionModeShort meshlib.SignDetectionModeShort.HoleWindingNumber = new SignDetectionModeShort(1)
static

< detects sign from the winding number generalization with support for holes and self-intersections in mesh

◆ ProjectionNormal

final SignDetectionModeShort meshlib.SignDetectionModeShort.ProjectionNormal = new SignDetectionModeShort(2)
static

< detects sign from the pseudonormal in closest mesh point, which is fast but unsafe in the presence of holes and self-intersections in mesh

◆ value

final int meshlib.SignDetectionModeShort.value

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