void getPlanarOrigin() {
		/*
		 * just find the minimum value such that all coordinates are positive. note that this may be out of the actual
		 * range of data
		 * 
		 */
		planarOrigin.set(0, 0, 0);
		if (contourVertexCount == 0)
			return;

		float minX = Float.MAX_VALUE;
		float minY = Float.MAX_VALUE;
		planarOrigin.set(contourVertexes[0].vertexXYZ);
		for (int i = 0; i < contourVertexCount; i++) {
			pointVector.set(contourVertexes[i].vertexXYZ);
			xyzToPixelVector(pointVector);
			if (logMessages && i < 10)
				Logger.info("getPlanarOrigin: " + contourVertexes[i].vertexXYZ + " is 2D: " + pointVector);

			if (pointVector.x < minX)
				minX = pointVector.x;
			if (pointVector.y < minY)
				minY = pointVector.y;
		}
		if (logMessages)
			Logger.info("getPlanarOrigin: minX, minY: " + minX + "," + minY);
		planarOrigin.set(pixelPtToXYZ((int) (minX * 1.0001f), (int) (minY * 1.0001f)));
		Logger.info("generatePixelData planarOrigin = " + planarOrigin + ":" + locatePixel(planarOrigin));
	}