ViewDesignEngine  3.1.0
高性能 CAD 计算几何引擎
vde::curves 命名空间参考

class  BezierCurve
 任意阶 Bézier 曲线 更多...
 
class  BezierSurface
 Bézier 张量积曲面 更多...
 
class  BSplineCurve
 B 样条曲线(非有理、均匀/非均匀节点) 更多...
 
class  BSplineSurface
 B 样条张量积曲面(非有理) 更多...
 
class  NurbsCurve
 NURBS 曲线(Non-Uniform Rational B-Spline) 更多...
 
class  NurbsSurface
 NURBS 张量积曲面 更多...
 

函数

NurbsSurface offset_surface (const NurbsSurface &surf, double distance)
 NURBS 曲面等距偏移 更多...
 
NurbsSurface trim_surface (const NurbsSurface &surf, double u_min, double u_max, double v_min, double v_max)
 NURBS 曲面参数域裁剪 更多...
 
NurbsSurface blend_surfaces (const NurbsSurface &surf_a, const NurbsSurface &surf_b, int edge_a, int edge_b, double blend_radius)
 两 NURBS 曲面沿边界边的过渡面 更多...
 
NurbsSurface ruled_surface (const NurbsCurve &curve_a, const NurbsCurve &curve_b)
 两 NURBS 曲线间的直纹面 更多...
 
NurbsSurface coons_patch (const NurbsCurve &curve_u0, const NurbsCurve &curve_u1, const NurbsCurve &curve_v0, const NurbsCurve &curve_v1)
 由四条边界曲线创建 Coons 曲面 更多...
 
NurbsSurface extrude_curve (const NurbsCurve &curve, const Vector3D &direction, double length)
 沿方向向量拉伸 NURBS 曲线为曲面 更多...
 
NurbsCurve extract_boundary_curve (const NurbsSurface &surf, int edge)
 提取 NURBS 曲面的等参边界曲线 更多...
 
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)
 自适应曲面三角化 更多...