Class IndexedTriangleN3


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

      • IndexedTriangleN3

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

        public IndexedTriangleN3()
      • IndexedTriangleN3

        public IndexedTriangleN3​(int p1,
                                 int p2,
                                 int p3,
                                 int n1,
                                 int n2,
                                 int 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

        public IndexedTriangleN3​(IndexedTriangleN3 f)
        copy constructor

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

      • delete

        public void delete()
      • getNormalIdx

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

        public int get​(long i)
      • set

        public void set​(long i,
                        int d)