确定一般多面体中一个点的空间包容

Yehuda E Kalay
{"title":"确定一般多面体中一个点的空间包容","authors":"Yehuda E Kalay","doi":"10.1016/0146-664X(82)90019-3","DOIUrl":null,"url":null,"abstract":"<div><p>Determining the inclusion of a point in volume-enclosing polyhedra (shapes) in 3D space is, in principle, the extension of the well-known problem of determining the inclusion of a point in a polygon in 2D space. However, the extra degree of freedom makes 3D point-polyhedron containment analysis much more difficult to solve than the 2D point-polygon problem, mainly because of the nonsequential ordering of the shape elements, which requires global shape data to be applied for resolving special cases. Two general <em>O</em>(<em>n</em>) algorithms for solving the problem by reducing the 3D case into the solvable 2D case are presented. The first algorithm, denoted “the projection method,” is applicable to any planar-faced polyhedron, reducing the dimensionality by employing parallel projection to generate planar images of the shape faces, together with an image of the point being tested for inclusion. The containment relationship of these images is used to increment a global parity-counter when appropriate, representing an abstraction for counting the intersections between the surface of the shape and a halfline extending from the point to infinity. An “inside” relationship is established when the parity-count is odd. Special cases (coincidence of the halfline with edges or vertices of the shape) are resolved by eliminating the coincidental elements and re-projecting the merged faces. The second algorithm, denoted “the intersection method,” is applicable to any well-formed shape, including curved-surfaced ones. It reduces the dimensionality by intersecting the shape with a plane which includes the point tested for inclusion, thereby generating a 2D polygonal trace of the shape surface at the plane of intersection, which is tested for containing the trace of the point in the plane, directly establishing the overall 3D containment relationship. A particular <em>O</em>(<em>n</em>) implementation of the 2D point-in-polygon inclusion algorithm, which is used for solving the problem once reduced in dimensionality, is also presented. The presentation is complemented by discussions of the problems associated with point-polyhedron relationship determination in general, and comparative analysis of the two particular algorithms presented.</p></div>","PeriodicalId":100313,"journal":{"name":"Computer Graphics and Image Processing","volume":"19 4","pages":"Pages 303-334"},"PeriodicalIF":0.0000,"publicationDate":"1982-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/0146-664X(82)90019-3","citationCount":"0","resultStr":"{\"title\":\"Determining the spatial containment of a point in general polyhedra\",\"authors\":\"Yehuda E Kalay\",\"doi\":\"10.1016/0146-664X(82)90019-3\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Determining the inclusion of a point in volume-enclosing polyhedra (shapes) in 3D space is, in principle, the extension of the well-known problem of determining the inclusion of a point in a polygon in 2D space. However, the extra degree of freedom makes 3D point-polyhedron containment analysis much more difficult to solve than the 2D point-polygon problem, mainly because of the nonsequential ordering of the shape elements, which requires global shape data to be applied for resolving special cases. Two general <em>O</em>(<em>n</em>) algorithms for solving the problem by reducing the 3D case into the solvable 2D case are presented. The first algorithm, denoted “the projection method,” is applicable to any planar-faced polyhedron, reducing the dimensionality by employing parallel projection to generate planar images of the shape faces, together with an image of the point being tested for inclusion. The containment relationship of these images is used to increment a global parity-counter when appropriate, representing an abstraction for counting the intersections between the surface of the shape and a halfline extending from the point to infinity. An “inside” relationship is established when the parity-count is odd. Special cases (coincidence of the halfline with edges or vertices of the shape) are resolved by eliminating the coincidental elements and re-projecting the merged faces. The second algorithm, denoted “the intersection method,” is applicable to any well-formed shape, including curved-surfaced ones. It reduces the dimensionality by intersecting the shape with a plane which includes the point tested for inclusion, thereby generating a 2D polygonal trace of the shape surface at the plane of intersection, which is tested for containing the trace of the point in the plane, directly establishing the overall 3D containment relationship. A particular <em>O</em>(<em>n</em>) implementation of the 2D point-in-polygon inclusion algorithm, which is used for solving the problem once reduced in dimensionality, is also presented. The presentation is complemented by discussions of the problems associated with point-polyhedron relationship determination in general, and comparative analysis of the two particular algorithms presented.</p></div>\",\"PeriodicalId\":100313,\"journal\":{\"name\":\"Computer Graphics and Image Processing\",\"volume\":\"19 4\",\"pages\":\"Pages 303-334\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1982-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://sci-hub-pdf.com/10.1016/0146-664X(82)90019-3\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Graphics and Image Processing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/0146664X82900193\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Graphics and Image Processing","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/0146664X82900193","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

确定三维空间中封闭多面体(形状)中点的包含问题,原则上是众所周知的二维空间中多边形中点的包含问题的扩展。然而,额外的自由度使得三维点多面体包容分析比二维点多边形问题更难求解,这主要是因为形状元素的顺序不一致,这需要应用全局形状数据来解决特殊情况。提出了两种通用的O(n)算法,将三维情况简化为可解的二维情况。第一种算法,称为“投影法”,适用于任何平面多面体,通过使用平行投影来生成形状面的平面图像,以及被测试包含点的图像,从而降低了维数。这些图像的包含关系用于在适当时增加全局奇偶校验计数器,表示用于计算形状表面与从点延伸到无穷大的半线之间的交点的抽象。当奇偶计数为奇数时,建立“内部”关系。特殊情况(半线与形状的边缘或顶点的重合)通过消除重合元素并重新投影合并的面来解决。第二种算法称为“交点法”,适用于任何形状良好的形状,包括曲面形状。它通过将形状与包含待包含点的平面相交来降低维数,从而在相交平面上生成形状表面的二维多边形轨迹,该平面被测试包含点在该平面上的轨迹,直接建立整体的三维包含关系。本文还介绍了二维多边形中点包含算法的一种特殊的O(n)实现,该算法用于求解降维后的问题。本文还讨论了与点多面体关系确定相关的问题,并对所提出的两种特定算法进行了比较分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Determining the spatial containment of a point in general polyhedra

Determining the inclusion of a point in volume-enclosing polyhedra (shapes) in 3D space is, in principle, the extension of the well-known problem of determining the inclusion of a point in a polygon in 2D space. However, the extra degree of freedom makes 3D point-polyhedron containment analysis much more difficult to solve than the 2D point-polygon problem, mainly because of the nonsequential ordering of the shape elements, which requires global shape data to be applied for resolving special cases. Two general O(n) algorithms for solving the problem by reducing the 3D case into the solvable 2D case are presented. The first algorithm, denoted “the projection method,” is applicable to any planar-faced polyhedron, reducing the dimensionality by employing parallel projection to generate planar images of the shape faces, together with an image of the point being tested for inclusion. The containment relationship of these images is used to increment a global parity-counter when appropriate, representing an abstraction for counting the intersections between the surface of the shape and a halfline extending from the point to infinity. An “inside” relationship is established when the parity-count is odd. Special cases (coincidence of the halfline with edges or vertices of the shape) are resolved by eliminating the coincidental elements and re-projecting the merged faces. The second algorithm, denoted “the intersection method,” is applicable to any well-formed shape, including curved-surfaced ones. It reduces the dimensionality by intersecting the shape with a plane which includes the point tested for inclusion, thereby generating a 2D polygonal trace of the shape surface at the plane of intersection, which is tested for containing the trace of the point in the plane, directly establishing the overall 3D containment relationship. A particular O(n) implementation of the 2D point-in-polygon inclusion algorithm, which is used for solving the problem once reduced in dimensionality, is also presented. The presentation is complemented by discussions of the problems associated with point-polyhedron relationship determination in general, and comparative analysis of the two particular algorithms presented.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信