code: public static void dumpTexCoords(AiMesh mesh, int coords) {
          if (!mesh.hasTexCoords(coords)) {
              System.out.println("mesh has no texture coordinate set " + coords);
              return;
          }
          
          for (int i = 0; i < mesh.getNumVertices(); i++) {
              int numComponents = mesh.getNumUVComponents(coords);
              System.out.print("[" + mesh.getTexCoordU(i, coords));
              
              if (numComponents > 1) {
                  System.out.print(", " + mesh.getTexCoordV(i, coords));
              }
              
              if (numComponents > 2) {
                  System.out.print(", " + mesh.getTexCoordW(i, coords));
              }
              
              System.out.println("]");
          }
      }
docs: Dumps a texture coordinate set of a mesh to stdout.
  
  @param mesh the mesh
  @param coords the coordinates