org.jcae.mesh.amibe.ds
Class ElementFactory
java.lang.Object
org.jcae.mesh.amibe.ds.ElementFactory
- All Implemented Interfaces:
- ElementFactoryInterface
public class ElementFactory
- extends java.lang.Object
- implements ElementFactoryInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementFactory
public ElementFactory(MeshTraitsBuilder mtb)
createVertex
public Vertex createVertex(double u,
double v)
- Specified by:
createVertex
in interface ElementFactoryInterface
createVertex
public Vertex createVertex(double x,
double y,
double z)
- Specified by:
createVertex
in interface ElementFactoryInterface
createVertex
public Vertex createVertex(double[] x)
- Specified by:
createVertex
in interface ElementFactoryInterface
createHalfEdge
public AbstractHalfEdge createHalfEdge(TriangleHE t,
byte orientation,
byte attributes)
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