Class IndexedTriangle_32


  • public class IndexedTriangle_32
    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_32

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

        public IndexedTriangle_32()
        default constructor
      • IndexedTriangle_32

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

        public IndexedTriangle_32​(IndexedTriangle_32 f)
        copy constructor

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

      • delete

        public void delete()
      • getVertexIdx

        public SWIGTYPE_p_unsigned_int getVertexIdx​(long i)
        returns the index of vertex i of the triangle
      • get

        public long get​(long i)
      • set

        public void set​(long i,
                        long d)