Class IndexedPolygonNN_32


  • public class IndexedPolygonNN_32
    extends IndexedPolygon_32
    Polygon with N vertices and N normals.
    • Constructor Detail

      • IndexedPolygonNN_32

        public IndexedPolygonNN_32​(long cPtr,
                                   boolean cMemoryOwn)
    • Method Detail

      • getNormalIdx

        public SWIGTYPE_p_unsigned_int getNormalIdx​(long i)
        returns the index of vertex i of the triangle
      • addVertex

        public void addVertex​(long p,
                              long n)
        Adds a vertex to the polygon

        The point will be added to the end of the list of points
        Parameters:
        p - [in] The point to add
        n - [in] Normal associated to the point
      • removeVertexIdx

        public void removeVertexIdx​(long i)
        Removes vertex from the polygon

        Parameters:
        i - [in] Index of the point to remove