gpt4 book ai didi

c++ - 在 3D 共面段上使用 `CGAL::compute_intersection_points`

转载 作者:行者123 更新时间:2023-12-02 10:14:07 34 4
gpt4 key购买 nike

是否可以使用CGAL::compute_intersection_points在一堆 Segment_3 s 哪些是共面的?我浏览过https://doc.cgal.org/latest/Arrangement_on_surface_2/classArrangementTraits__2.html搜索 ArrangementTraits_2 的实例这可能允许这样做但无济于事。
更一般地说,我可以将 2D Arrangements 包与 3D 共面段一起使用吗?

最佳答案

没有什么是开箱即用的。但是,我有一个称为投影特征的模块(我没有广泛调试过),它可以用来完成这项工作。我会尝试将其推送到 CGAL。同时您可以从here 下载。以及来自 here 的使用示例.请注意,该模块包含到 xy 平面的投影。如果您还需要投影到 yz 和 zx 平面,则需要复制类模板的代码 Arr_projection_traits_xy_3并应用微不足道的更改。

关于c++ - 在 3D 共面段上使用 `CGAL::compute_intersection_points`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62530667/

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