org.jcae.mesh.amibe.patch
Class ElementPatchFactory
java.lang.Object
org.jcae.mesh.amibe.patch.ElementPatchFactory
- All Implemented Interfaces:
- ElementFactoryInterface
public class ElementPatchFactory
- extends java.lang.Object
- implements ElementFactoryInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementPatchFactory
public ElementPatchFactory(MeshTraitsBuilder mtb)
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