Class FaceMesh

java.lang.Object
mgui.geometry.mesh.FaceMesh

public class FaceMesh
extends java.lang.Object
Maintains a vertex-wise list of faces; i.e., allows to user to quickly obtain a list of the faces associated with a particular node.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.HashMap<java.lang.Integer,​java.util.ArrayList<java.lang.Integer>> faces  
  • Constructor Summary

    Constructors
    Constructor Description
    FaceMesh​(Mesh3D mesh)  
  • Method Summary

    Modifier and Type Method Description
    java.util.ArrayList<java.lang.Integer> getFaces​(int i)
    Returns a list of faces associated with vertex i.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • faces

      protected java.util.HashMap<java.lang.Integer,​java.util.ArrayList<java.lang.Integer>> faces
  • Constructor Details

    • FaceMesh

      public FaceMesh​(Mesh3D mesh)
  • Method Details

    • getFaces

      public java.util.ArrayList<java.lang.Integer> getFaces​(int i)
      Returns a list of faces associated with vertex i.
      Parameters:
      i -
      Returns: