Class TriangleN3_f


  • public class TriangleN3_f
    extends java.lang.Object
    Triangle facet. triangle class that stores one normal for each
    vertex in the triangle.
    • Method Detail

      • getCPtr

        public static long getCPtr​(TriangleN3_f obj)
      • delete

        public void delete()
      • getNormal

        public Vector3Df getNormal​(long i)
        get normal of vertice i
        Parameters:
        i - [in] index of vertice
        Returns:
        normal of the i'th vertice
      • getVertex

        public Vector3Df getVertex​(long i)
      • set

        public void set​(long i,
                        Vector3Df d)
      • calcFaceNormal

        public Vector3Df calcFaceNormal()