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

Public Member Functions

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

Static Public Member Functions

static DecimateStrategy of (int value)

Public Attributes

final int value

Static Public Attributes

static final DecimateStrategy MinimizeError = new DecimateStrategy(0)
static final DecimateStrategy ShortestEdgeFirst = new DecimateStrategy(1)

Detailed Description

Defines the order of edge collapses inside Decimate algorithm

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

◆ DecimateStrategy()

meshlib.DecimateStrategy.DecimateStrategy ( int value)

Member Function Documentation

◆ equals()

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

◆ hashCode()

int meshlib.DecimateStrategy.hashCode ( )

◆ of()

DecimateStrategy meshlib.DecimateStrategy.of ( int value)
static

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

◆ toString()

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

Member Data Documentation

◆ MinimizeError

final DecimateStrategy meshlib.DecimateStrategy.MinimizeError = new DecimateStrategy(0)
static

< the next edge to collapse will be the one that introduced minimal error to the surface

◆ ShortestEdgeFirst

final DecimateStrategy meshlib.DecimateStrategy.ShortestEdgeFirst = new DecimateStrategy(1)
static

< the next edge to collapse will be the shortest one

◆ value

final int meshlib.DecimateStrategy.value

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