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

Public Member Functions

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

Static Public Member Functions

static VertexMass of (int value)

Public Attributes

final int value

Static Public Attributes

static final VertexMass Unit = new VertexMass(0)
static final VertexMass NeiArea = new VertexMass(1)

Detailed Description

determines the weight or mass of each vertex 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

◆ VertexMass()

meshlib.VertexMass.VertexMass ( int value)

Member Function Documentation

◆ equals()

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

◆ hashCode()

int meshlib.VertexMass.hashCode ( )

◆ of()

VertexMass meshlib.VertexMass.of ( int value)
static

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

◆ toString()

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

Member Data Documentation

◆ NeiArea

final VertexMass meshlib.VertexMass.NeiArea = new VertexMass(1)
static

vertex mass depends on local geometry and proportional to the area of first-ring triangles

◆ Unit

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

all vertices have same mass=1

◆ value

final int meshlib.VertexMass.value

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