检查不规则形状的物体是否相交
有没有办法检查两个不规则形状的物体是否相交?两者都将使用记录每个顶点的坐标系。例如,我想知道三角形是否刺入正方形,或者反之亦然。这可能吗?我研究过 JavaFX Node.intersects()
但它似乎不起作用。
Is there a way to check if two irregularly shaped objects intersect? Both would be using a coordinate system with each vertex logged. For example, I'd like to know if a triangle is poking into a square, or vice-versa. Is this possible? I've looked into the JavaFX Node.intersects()
but it doesn't seem like it would work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论