int addContourData(int x, int y, int z, Point3i offsets, Point3f vertexXYZ, float value) {
		if (contourVertexes == null)
			contourVertexes = new ContourVertex[256];
		if (contourVertexCount == contourVertexes.length)
			contourVertexes = (ContourVertex[]) ArrayUtil.doubleLength(contourVertexes);
		x += offsets.x;
		y += offsets.y;
		z += offsets.z;
		int vPt = addVertexCopy(vertexXYZ, value, false, "");
		contourVertexes[contourVertexCount++] = new ContourVertex(x, y, z, vertexXYZ, vPt);
		if (Math.abs(value) < 0.0000001)
			currentMesh.invalidateVertex(vPt);
		currentMesh.firstViewableVertex = currentMesh.vertexCount;
		if (logMessages)
			Logger.info("addCountourdata " + x + " " + y + " " + z + offsets + vertexXYZ + value);
		return vPt;
	}