gpt4 book ai didi

3d - CGAL 3D函数插值

转载 作者:行者123 更新时间:2023-12-04 20:49:56 28 4
gpt4 key购买 nike

在 CGAL 手册中,它说 here :

Scattered data interpolation solves the following problem: given measures of a function on a set of data points, the task is to interpolate this function on an arbitrary query point. More formally, let P={p1,…,pn} be a set of n points in R2 or R3 and Φ be a scalar function defined on the convex hull of P. We assume that the function values are known at the points of P, i.e. to each pi∈P, we associate zi=Φ(pi).

然后它继续显示示例,但我发现最接近 3D 插值的示例是示例 Interpolation/surface_neighbor_coordinates_3.cpp。据我所知,这只会找到一个点的相邻顶点。

是否可以采取后续步骤在 3D 中的任意查询点处找到插值函数值? (具体来说,在一个球体上?)

最佳答案

same page you quote, at the section "3 Interpolation Methods" ,有插值方法的描述,有两个例子。这可能是你正在寻找的。不过,您必须将这些示例改编为 3D。

关于3d - CGAL 3D函数插值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24766628/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com