作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (01): 111-.

• 论文 • 上一篇    下一篇

基于COM与ARX的曲线光顺性研究

仵大伟,林焰,纪卓尚   

  1. 大连理工大学船舶CAD工程中心,大连理工大学船舶CAD工程中心,大连理工大学船舶CAD工程中心 大连 116024
  • 发布日期:2003-01-15

Research on Curve Fairness Based on COM and ARX in AutoCAD

WU Dawei, LIN Yan, JI Zhuoshang   

  1. (Ship CAD Engineering Center, Dalian University of Technology, Dalian 116024)
  • Published:2003-01-15

摘要: 在AutoCAD 2000 开发平台上,以VC++6.0的MFC为编程语言,采用基于COM的ActiveX automation技术,结合ObjectARX开发环境的ARX技术,建立工程应用的基本框架。对AutoCAD图形数据库的管理及外部数据库的操作,文章给出了详细的研究方案。采用整体光顺方法,以应变能最小、曲率变化均匀为准则,以控制点为未知量,实现曲线的光顺,给出光顺算法的数学模型。

关键词: 组件对象模型, ObjectARX, ActiveX, automation, 数据库, 曲线光顺, AutoCAD

Abstract: In AutoCAD 2000 development platform, building a VC++6.0 executable application for Windows that is based on the Microsoft foundation class (MFC) library, integrating ActiveX automation technique derived from COM and ARX technique in ObjectARX environment, the project frame is established. This paper provides detailed methods to operate database of AutoCAD and outer database. Presenting a global fairing method, the curve fairness criterion of the algorithm, i.e., strain energy minimization and uniform change of curvatures, is defined. Establishing cubic B-spline objective function equation, the fairing curves are achieved successfully.

中图分类号: