Class TriMesh


  • public class TriMesh
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TriMesh()  
    • Field Detail

      • vert

        public java.util.Vector<Vertex> vert
      • vn

        public int vn
      • face

        public java.util.Vector<Face> face
      • fn

        public int fn
      • bbox

        public Box3 bbox
      • imark

        public int imark
    • Constructor Detail

      • TriMesh

        public TriMesh()
    • Method Detail

      • setVertex

        public void setVertex​(java.util.Vector<Point3> _vert)
      • simplexNumber

        public int simplexNumber()
      • vertexNumber

        public int vertexNumber()
      • initFaceIMark

        public final void initFaceIMark()
      • initVertexIMark

        public final void initVertexIMark()
      • iMark

        public final int iMark()
        Access function to the incremental mark.
      • isMarked

        public final boolean isMarked​(Vertex v)
        Check if the vertex incremental mark matches the one of the mesh.
        Parameters:
        v - Vertex pointer
      • isMarked

        public final boolean isMarked​(Face f)
        Check if the face incremental mark matches the one of the mesh.
        Parameters:
        v - Face pointer
      • mark

        public final void mark​(Vertex v)
        Set the vertex incremental mark of the vertex to the one of the mesh.
        Parameters:
        v - Vertex pointer
      • mark

        public final void mark​(Face f)
        Set the face incremental mark of the vertex to the one of the mesh.
        Parameters:
        v - Vertex pointer
      • unMarkAll

        public final void unMarkAll()
      • hasPerVertexNormal

        public final boolean hasPerVertexNormal()