org.jcae.mesh.amibe.traits
Class TriangleTraitsBuilder

java.lang.Object
  extended by org.jcae.mesh.amibe.traits.TraitsBuilder
      extended by org.jcae.mesh.amibe.traits.TriangleTraitsBuilder

public class TriangleTraitsBuilder
extends TraitsBuilder


Field Summary
static int HALFEDGE
           
static int VIRTUALHALFEDGE
           
 
Fields inherited from class org.jcae.mesh.amibe.traits.TraitsBuilder
attributes, COLOR, index, NORMAL, SCALARFIELD, VECTORFIELD
 
Constructor Summary
TriangleTraitsBuilder()
           
 
Method Summary
 TriangleTraitsBuilder addHalfEdge()
          Let ElementFactory.createTriangle() create TriangleHE instances.
 TriangleTraitsBuilder addVirtualHalfEdge()
          Let ElementFactory.createTriangle() create TriangleVH instances.
 
Methods inherited from class org.jcae.mesh.amibe.traits.TraitsBuilder
addColor, addNormal, addScalarField, addVectorField, createTraits, getColor, getNormal, getScalarField, getVectorField, hasCapability, subInitTraits, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VIRTUALHALFEDGE

public static final int VIRTUALHALFEDGE
See Also:
Constant Field Values

HALFEDGE

public static final int HALFEDGE
See Also:
Constant Field Values
Constructor Detail

TriangleTraitsBuilder

public TriangleTraitsBuilder()
Method Detail

addVirtualHalfEdge

public TriangleTraitsBuilder addVirtualHalfEdge()
Let ElementFactory.createTriangle() create TriangleVH instances.

Returns:
this instance

addHalfEdge

public TriangleTraitsBuilder addHalfEdge()
Let ElementFactory.createTriangle() create TriangleHE instances.

Returns:
this instance