旋转图像并跟踪点

时间:2015-02-18 16:12:10

标签: java

大家好我想基于一些预定义的瓷砖构建电路板。我目前面临的问题是,电路板上的某些平铺方向可能与实际的平铺图像不同。正如您可以从下面的图像中看到的那样,例如,瓷砖B2从其瓷砖B的原始方向旋转180度。我还需要能够在每个瓷砖内跟踪1到6个点(在图中以黄色表示)重要的是瓷砖的方向。有没有办法在运行时以编程方式(动态)执行此操作?任何帮助将不胜感激。

Left of the arrow are tiles provided. The right of the arrow is an example of a small portion of the board. Some of its pieces, i.e. B2 are rotated from their original orientation. Also yellow dots indicate points within the tile that need to be kept track of no matter the orientation.

0 个答案:

没有答案