31 std::pair<std::vector<Point3D>, std::vector<std::array<int, 3>>>
33 int res_u,
int res_v);
63 std::pair<std::vector<Point3D>, std::vector<std::array<int, 3>>>
65 const std::function<
Point3D(
double,
double)>& eval,
66 const std::function<
Vector3D(
double,
double)>& normal_fn,
67 int min_res = 2,
int max_depth = 6,
68 double angle_threshold_deg = 5.0);
std::pair< std::vector< Point3D >, std::vector< std::array< int, 3 > > > tessellate(const std::function< Point3D(double, double)> &eval, int res_u, int res_v)
均匀参数化曲面三角化
std::pair< std::vector< Point3D >, std::vector< std::array< int, 3 > > > adaptive_tessellate(const std::function< Point3D(double, double)> &eval, const std::function< Vector3D(double, double)> &normal_fn, int min_res=2, int max_depth=6, double angle_threshold_deg=5.0)
自适应曲面三角化
foundation::Vector3D Vector3D
双精度三维向量(重新导出)
foundation::Point3D Point3D
双精度三维点(重新导出)