|
ViewDesignEngine
3.1.0
高性能 CAD 计算几何引擎
|
高层 B-Rep 建模 API 更多...

命名空间 | |
| vde | |
| vde::brep | |
函数 | |
| BrepModel | vde::brep::extrude (const curves::NurbsCurve &profile, const Vector3D &dir) |
| 沿方向挤出平面轮廓 更多... | |
| BrepModel | vde::brep::revolve (const curves::NurbsCurve &profile, const Point3D &axis_origin, const Vector3D &axis_dir, double angle_rad=2.0 *M_PI) |
| 绕轴旋转平面轮廓 更多... | |
| BrepModel | vde::brep::sweep (const curves::NurbsCurve &profile, const curves::NurbsCurve &path) |
| 沿任意路径扫掠轮廓 更多... | |
| BrepModel | vde::brep::loft (const std::vector< curves::NurbsCurve > &profiles) |
| 在两个或多个轮廓曲线之间放样 更多... | |
| BrepModel | vde::brep::make_box (double w, double h, double d) |
| 创建立方体 更多... | |
| BrepModel | vde::brep::make_cylinder (double radius, double height, int segments=32) |
| 创建圆柱体 更多... | |
| BrepModel | vde::brep::make_sphere (double radius, int segments_u=32, int segments_v=16) |
| 创建球体 更多... | |
| BrepModel | vde::brep::fillet (const BrepModel &body, int edge_id, double radius) |
| 对边做圆角处理 更多... | |
| BrepModel | vde::brep::chamfer (const BrepModel &body, int edge_id, double distance) |
| 对边做倒角 更多... | |
| BrepModel | vde::brep::shell (const BrepModel &body, int face_id, double thickness) |
| 抽壳(挖空实体) 更多... | |
高层 B-Rep 建模 API
提供 B-Rep 实体的创建和编辑操作,类比于 CAD 系统的特征建模功能。
| 类别 | 操作 |
|---|---|
| 基本体 | make_box, make_cylinder, make_sphere |
| 扫掠特征 | extrude, revolve, sweep, loft |
| 编辑操作 | fillet, chamfer, shell |
每个函数返回一个新的 BrepModel(值语义),适合链式构建:
在文件 modeling.h 中定义.