TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Better Geometry Through Graph Theory (2018)

161 点作者 prospero将近 5 年前

3 条评论

amuresan将近 5 年前
One geometric model that actually handles numerical approximations is called exact geometric computation. It&#x27;s pretty interesting and starts by explicitly tracking arithmetic errors in the operations you do. At its core it&#x27;s a mix of interval arithmetics and multi-precision floating point. This is something you can do since the floating point implementations on most (all?) CPUs give you strong guarantees on the error bound of floating point arithmetic operations and these are usually within 1 ulp (unit in the last place) of the correct result. Now you have an interval for the result and can build your geometric constructs on interval arithmetic rather than classic, single point scalar arithmetic.<p>Geometry works with constructs, not numbers. An intersection is a construct, collinearity is a construct, orientation &#x2F; handedness is a construct, etc. If you define your fundamental constructs to be rigorous then the algorithms you build on top will also be rigorous. If we consider the article&#x27;s inside-outside test example, this result would be computed based on the intersections (intervals) we&#x27;ve computed. Since we know for sure the correct result is within our interval of error then inside-testing boils down to comparing intervals and we know there are three possible situations here: 1. [a, b] &lt; [c, d]; 2 [a, b] &gt; [c, d]; 3. [a, b] overlaps with [c, d]. In case 1 and 2 we have a robust conclusion and in case 3 we recompute the whole predicate with higher precision until it becomes decidable.<p>The golden standard for exact geometric computation is CGAL [1]. All the research around it is very interesting and refreshing to read.<p>[1] cgal.org
评论 #23679218 未加载
评论 #23678554 未加载
评论 #23680885 未加载
NigelTheCreator将近 5 年前
Sounds like a reinvention of coedges to me, boundary representations track topology and geometry in separated structures. The approximation errors are always a nasty issue and that is the no trivial work on a BREP modeling libraries, for different edge cases you need different algorithms and maybe even transform the geometry into a different parameter space to minimize the approximation errors on computing an intersection between geometries.
评论 #23680009 未加载
openfuture将近 5 年前
Bivector.net<p>Implementing computer graphics should be done with geometric algebra.<p>I don&#x27;t know anything about this field but I know the difference between a clean, consistent API and a random hodgepodge of hacks.<p>Since I don&#x27;t know anything I&#x27;m not sure if GA allows you to avoid errors such as the one in the article but in typical HN fashion I&#x27;ll be derailing with some left- field claim and a link to some other project.
评论 #23675862 未加载
评论 #23675839 未加载
评论 #23678084 未加载
评论 #23675967 未加载
评论 #23683621 未加载
评论 #23675920 未加载