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 Details

    • faceIndex

      public int faceIndex
    • edges

      public MeshEdge[] edges
  • Constructor Details

    • MeshTriangle

      public MeshTriangle​(int index)
    • MeshTriangle

      public MeshTriangle​(int index, MeshEdge e1, MeshEdge e2, MeshEdge e3)
  • Method Details

    • setEdges

      public void setEdges​(MeshEdge[] e)
    • addEdge

      public void addEdge​(MeshEdge e)
    • getOppositeNode

      public int getOppositeNode​(MeshEdge e)
    • getOppositeEdge

      public MeshEdge getOppositeEdge​(int i, MeshEdge e)