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

Public Member Functions

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

Static Public Member Functions

static EdgeWeights of (int value)

Public Attributes

final int value

Static Public Attributes

static final EdgeWeights Unit = new EdgeWeights(0)
static final EdgeWeights Cotan = new EdgeWeights(1)

Detailed Description

determines the weight of each edge in applications like Laplacian

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

◆ EdgeWeights()

meshlib.EdgeWeights.EdgeWeights ( int value)

Member Function Documentation

◆ equals()

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

◆ hashCode()

int meshlib.EdgeWeights.hashCode ( )

◆ of()

EdgeWeights meshlib.EdgeWeights.of ( int value)
static

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

◆ toString()

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

Member Data Documentation

◆ Cotan

final EdgeWeights meshlib.EdgeWeights.Cotan = new EdgeWeights(1)
static

edge weight depends on local geometry and uses cotangent values

◆ Unit

final EdgeWeights meshlib.EdgeWeights.Unit = new EdgeWeights(0)
static

all edges have same weight=1

◆ value

final int meshlib.EdgeWeights.value

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