Class IndexedTriangle


  • public class IndexedTriangle
    extends java.lang.Object
    indexed triangle class that has 3 indices that points to 3
    vertices in an array typically used with the IndexedTriMesh class.
    the indice type (size) is templated.
    • Constructor Detail

      • IndexedTriangle

        public IndexedTriangle​(long cPtr,
                               boolean cMemoryOwn)
      • IndexedTriangle

        public IndexedTriangle()
        default constructor
      • IndexedTriangle

        public IndexedTriangle​(int p1,
                               int p2,
                               int p3)
        constructor
        Parameters:
        p1 - [in] indice to vertice 1
        p2 - [in] indice to vertice 2
        p3 - [in] indice to vertice 3
      • IndexedTriangle

        public IndexedTriangle​(IndexedTriangle f)
        copy constructor

        Parameters:
        f - [in] - The face that is to be copied.
    • Method Detail

      • delete

        public void delete()
      • get

        public int get​(long i)
      • set

        public void set​(long i,
                        int d)