org.jcae.mesh.amibe.patch
Class ElementPatchFactory

java.lang.Object
  extended by org.jcae.mesh.amibe.patch.ElementPatchFactory
All Implemented Interfaces:
ElementFactoryInterface

public class ElementPatchFactory
extends java.lang.Object
implements ElementFactoryInterface


Constructor Summary
ElementPatchFactory(MeshTraitsBuilder mtb)
           
 
Method Summary
 Triangle createTriangle(Triangle that)
          Clone an existing triangle.
 Triangle createTriangle(Vertex[] v)
           
 Triangle createTriangle(Vertex v0, Vertex v1, Vertex v2)
           
 Vertex2D createVertex(double[] x)
           
 Vertex2D createVertex(double u, double v)
           
 Vertex2D createVertex(double x, double y, double z)
           
 boolean hasAdjacency()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementPatchFactory

public ElementPatchFactory(MeshTraitsBuilder mtb)
Method Detail

createVertex

public Vertex2D createVertex(double u,
                             double v)
Specified by:
createVertex in interface ElementFactoryInterface

createVertex

public Vertex2D createVertex(double x,
                             double y,
                             double z)
Specified by:
createVertex in interface ElementFactoryInterface

createVertex

public Vertex2D createVertex(double[] x)
Specified by:
createVertex in interface ElementFactoryInterface

createTriangle

public Triangle createTriangle(Vertex v0,
                               Vertex v1,
                               Vertex v2)
Specified by:
createTriangle in interface ElementFactoryInterface

createTriangle

public Triangle createTriangle(Vertex[] v)
Specified by:
createTriangle in interface ElementFactoryInterface

createTriangle

public Triangle createTriangle(Triangle that)
Clone an existing triangle.

Specified by:
createTriangle in interface ElementFactoryInterface

hasAdjacency

public boolean hasAdjacency()
Specified by:
hasAdjacency in interface ElementFactoryInterface