CGAL

三维周期网格

Posted by Mcoder on July 3, 2019 文章阅读量

Introduction

一个周期的网格生成过程由如下两个函数完成:

template <class C3T3, class PeriodicMeshDomain, class MeshCriteria>
C3T3 make_periodic_3_mesh_3(const PeriodicMeshDomain& domain,
                            const MeshCriteria& criteria,
                            parameters::internal::Features_options features = parameters::features(domain),
                            parameters::internal::Lloyd_options lloyd = parameters::no_lloyd(),
                            parameters::internal::Odt_options odt = parameters::no_odt(),
                            parameters::internal::Perturb_options perturb = parameters::perturb(),
                            parameters::internal::Exude_options exude = parameters::exude());
template <class C3T3, class MeshDomain, class MeshCriteria>
void refine_periodic_3_mesh_3(C3T3& c3t3,
                              const PeriodicMeshDomain& domain,
                              const MeshCriteria& criteria,
                              parameters::internal::Lloyd_options lloyd = parameters::no_lloyd(),
                              parameters::internal::Odt_options odt = parameters::no_odt(),
                              parameters::internal::Perturb_options perturb = parameters::perturb(),
                              parameters::internal::Exude_options exude = parameters::exude());

C3T3 is a model of concept MeshComplex_3InTriangulation_3. 这个数据结构是用来表示3Dcomplex嵌入于 periodic 3D triangulation。C3T3是用来维持当前笔记simplicial Mesh 并且用来表达最终周期三维网格的一个单个拷贝。

Reference

  1. CGAL 4.14 - 3D Periodic Mesh Generation
  2. CGAL 4.14 - 3D Periodic Triangulations - The Flat Torus
  3. Assimp 介绍