摘要
组件对象模型COM(Component Object Model)为构建组件提供了技术支持。按COM 制作的组件可以在不同平台上得以重用。COM 通过包容和聚合来实现继承和扩展。文章总结了CAD 软件二次开发中常见的几何问题,提出了使用VB 按照COM 组件的思想建立一套与机器无关、二进制兼容的常用几何算法库,描述了一个典型算法(任意两圆求交点)、建库、扩充和使用的详细过程。
COM (Component Object Model) provides a set of standard to construct component. The component, created according to COM, can be used widely on different computer platform. COM uses Containment Aggregation to realize inheriting and expanding. This Paper summaries the common geometry algorithm used in CAD software, puts forward a method to establish a platform-independence, binary-compatible common geometry algorithm Library based on COM using VB and describes the detail process of a typical algorithm (Determination of the intersection points of two circles), library generation, expansion and usage.
出处
《工程图学学报》
CSCD
北大核心
2005年第2期146-149,共4页
Journal of Engineering Graphics
基金
国防预先研究共用基金资助项目(41305010204)