// Path: src/ifcjni2/src/org/ifcopenshell/util/Utils.java
// public final class Utils {
// 
// 	public static String floatArrayToString(String tag, float[] arr) {
// 		StringBuilder builder = new StringBuilder();
// 		if (tag != null) {
// 			builder.append("\"" + tag + "\"" + ":");
// 		}
// 		builder.append("[");
// 		for (int i = 0, len = arr.length; i < len - 1; i++)
// 			builder.append(arr[i] + ",");
// 		if (arr.length > 0)
// 			builder.append(arr[arr.length - 1]);
// 		builder.append("]");
// 		return builder.toString();
// 	}
// 
// 	public static String intArrayToString(String tag, int[] arr) {
// 		StringBuilder builder = new StringBuilder("\"");
// 		builder.append(tag + "\"" + ":[");
// 		for (int i = 0, len = arr.length; i < len - 1; i++)
// 			builder.append(arr[i] + ",");
// 		builder.append(arr[arr.length - 1] + "]");
// 		return builder.toString();
// 	}
// 
// }


import org.ifcopenshell.util.Utils;
package org.ifcopenshell.model;


public final class IfcMesh {

	private final int[] indices;
	private final float[] vertices;

	public IfcMesh(int[] indices, float[] vertices) {
		this.indices = indices;
		this.vertices = vertices;
	}

	public int[] getIndices() {
		return indices;
	}

	public float[] getVertices() {
		return vertices;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
// Path: src/ifcjni2/src/org/ifcopenshell/util/Utils.java
// public final class Utils {
// 
// 	public static String floatArrayToString(String tag, float[] arr) {
// 		StringBuilder builder = new StringBuilder();
// 		if (tag != null) {
// 			builder.append("\"" + tag + "\"" + ":");
// 		}
// 		builder.append("[");
// 		for (int i = 0, len = arr.length; i < len - 1; i++)
// 			builder.append(arr[i] + ",");
// 		if (arr.length > 0)
// 			builder.append(arr[arr.length - 1]);
// 		builder.append("]");
// 		return builder.toString();
// 	}
// 
// 	public static String intArrayToString(String tag, int[] arr) {
// 		StringBuilder builder = new StringBuilder("\"");
// 		builder.append(tag + "\"" + ":[");
// 		for (int i = 0, len = arr.length; i < len - 1; i++)
// 			builder.append(arr[i] + ",");
// 		builder.append(arr[arr.length - 1] + "]");
// 		return builder.toString();
// 	}
// 
// }


// Path: src/ifcjni2/src/org/ifcopenshell/model/IfcMesh.java
import org.ifcopenshell.util.Utils;

package org.ifcopenshell.model;


public final class IfcMesh {

	private final int[] indices;
	private final float[] vertices;

	public IfcMesh(int[] indices, float[] vertices) {
		this.indices = indices;
		this.vertices = vertices;
	}

	public int[] getIndices() {
		return indices;
	}

	public float[] getVertices() {
		return vertices;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("\"mesh\":{" + Utils.intArrayToString("f", indices)