Package mgui.geometry.mesh
Class MeshTriangle
java.lang.Object
mgui.geometry.mesh.MeshTriangle
public class MeshTriangle
extends java.lang.Object
Represents a triangular mesh face, defined by three edges and an index referencing a
Mesh3D object
- Author:
- Andrew Reid
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MeshTriangle(int index)
MeshTriangle(int index, MeshEdge e1, MeshEdge e2, MeshEdge e3)
-
Method Summary
Modifier and Type Method Description void
addEdge(MeshEdge e)
MeshEdge
getOppositeEdge(int i, MeshEdge e)
int
getOppositeNode(MeshEdge e)
void
setEdges(MeshEdge[] e)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
faceIndex
public int faceIndex -
edges
-
-
Constructor Details
-
MeshTriangle
public MeshTriangle(int index) -
MeshTriangle
-
-
Method Details
-
setEdges
-
addEdge
-
getOppositeNode
-
getOppositeEdge
-