MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.ContoursDistanceMapOptions_SignedDetectionMethod Class Reference

Public Member Functions

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

Static Public Member Functions

static ContoursDistanceMapOptions_SignedDetectionMethod of (int value)

Public Attributes

final int value

Static Public Attributes

static final ContoursDistanceMapOptions_SignedDetectionMethod ContourOrientation = new ContoursDistanceMapOptions_SignedDetectionMethod(0)
static final ContoursDistanceMapOptions_SignedDetectionMethod WindingRule = new ContoursDistanceMapOptions_SignedDetectionMethod(1)

Detailed Description

method to calculate sign

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

◆ ContoursDistanceMapOptions_SignedDetectionMethod()

meshlib.ContoursDistanceMapOptions_SignedDetectionMethod.ContoursDistanceMapOptions_SignedDetectionMethod ( int value)

Member Function Documentation

◆ equals()

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

◆ hashCode()

int meshlib.ContoursDistanceMapOptions_SignedDetectionMethod.hashCode ( )

◆ of()

ContoursDistanceMapOptions_SignedDetectionMethod meshlib.ContoursDistanceMapOptions_SignedDetectionMethod.of ( int value)
static

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

◆ toString()

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

Member Data Documentation

◆ ContourOrientation

final ContoursDistanceMapOptions_SignedDetectionMethod meshlib.ContoursDistanceMapOptions_SignedDetectionMethod.ContourOrientation = new ContoursDistanceMapOptions_SignedDetectionMethod(0)
static

detect sign of distance based on closest contour's edge turn
(recommended for good contours with no self-intersections)

Note
that polyline topology should be consistently oriented

◆ value

final int meshlib.ContoursDistanceMapOptions_SignedDetectionMethod.value

◆ WindingRule

final ContoursDistanceMapOptions_SignedDetectionMethod meshlib.ContoursDistanceMapOptions_SignedDetectionMethod.WindingRule = new ContoursDistanceMapOptions_SignedDetectionMethod(1)
static

detect sign of distance based on number of ray intersections with contours
(recommended for contours with self-intersections)


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