HE_Mesh  6.0.1
wblut.hemesh.HE_Element Class Referenceabstract
+ Inheritance diagram for wblut.hemesh.HE_Element:

Public Member Functions

 HE_Element ()
 
final void setUserLabel (final int label)
 
final long getKey ()
 
final int getInternalLabel ()
 
final int getUserLabel ()
 
int hashCode ()
 
boolean equals (final Object other)
 
void copyProperties (final HE_Element el)
 

Protected Member Functions

final void setInternalLabel (final int label)
 
abstract void clear ()
 
abstract void clearPrecomputed ()
 

Protected Attributes

final long key
 
int internalLabel
 
int userLabel
 

Static Protected Attributes

static AtomicLong currentKey = new AtomicLong(0)
 

Detailed Description

Base element of the halfedge datastructure. Contains a unique key (long), a user definable userLabel (int) and an internalLabel (int). The userLabel is never modified by HE_Mesh. The internalLabel is set and reset by HE_Mesh.

Constructor & Destructor Documentation

wblut.hemesh.HE_Element.HE_Element ( )

Member Function Documentation

abstract void wblut.hemesh.HE_Element.clear ( )
abstractprotected
abstract void wblut.hemesh.HE_Element.clearPrecomputed ( )
abstractprotected
void wblut.hemesh.HE_Element.copyProperties ( final HE_Element  el)
boolean wblut.hemesh.HE_Element.equals ( final Object  other)
final int wblut.hemesh.HE_Element.getInternalLabel ( )
final long wblut.hemesh.HE_Element.getKey ( )
Returns

References wblut.hemesh.HE_Element.key.

final int wblut.hemesh.HE_Element.getUserLabel ( )
Returns

References wblut.hemesh.HE_Element.userLabel.

int wblut.hemesh.HE_Element.hashCode ( )
final void wblut.hemesh.HE_Element.setInternalLabel ( final int  label)
protected
final void wblut.hemesh.HE_Element.setUserLabel ( final int  label)

Set the user label to an integer value. -1 is the default value.

Parameters
label

Member Data Documentation

AtomicLong wblut.hemesh.HE_Element.currentKey = new AtomicLong(0)
staticprotected
int wblut.hemesh.HE_Element.internalLabel
protected
final long wblut.hemesh.HE_Element.key
protected
int wblut.hemesh.HE_Element.userLabel
protected

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