Class IndexedTriangleN3_32


  • public class IndexedTriangleN3_32
    extends java.lang.Object
    indexed triangle class with an additional index for 3 normals one for each vertice in
    the triangle
    • Constructor Detail

      • IndexedTriangleN3_32

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

        public IndexedTriangleN3_32()
      • IndexedTriangleN3_32

        public IndexedTriangleN3_32​(long p1,
                                    long p2,
                                    long p3,
                                    long n1,
                                    long n2,
                                    long n3)
        constructor
        Parameters:
        p1 - [in] vertice index 1
        p2 - [in] vertice index 2
        p3 - [in] vertice index 3
        n1 - [in] normal index for vertice 1
        n2 - [in] normal index for vertice 2
        n3 - [in] normal index for vertice 3
      • IndexedTriangleN3_32

        public IndexedTriangleN3_32​(IndexedTriangleN3_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
      • getNormalIdx

        public SWIGTYPE_p_unsigned_int getNormalIdx​(long i)
        get the index of vertice normal i.
        Parameters:
        i - [in] vertice normal
        Returns:
        normal index
      • get

        public long get​(long i)
      • set

        public void set​(long i,
                        long d)