摘要: |
提出了用面向对象技术建立机械系统几何模型的方法。用这种方法建立的几何模型易于扩充,可以构造任意复杂的机械系统几何模型,而且具有高效、易实现等优点。 |
关键词: 机械系统,图形仿真,几何模型,面向对象技术 |
DOI: |
|
基金项目:高等学校博士点专项科研基金 |
|
Application of Object-Oriented Technique to Graph Simulation of Mechanical System Motion |
|
|
Abstract: |
The method using Object-Oriented Programming Technique to build the geometric model of mechanlcal systems is introduced. There are two kinds of objects in the geometric model of a mechanical system: the graphs and the joints (that is, constraints). The basic graph class which has the common attributes of all graphs is constructed. Then, different graph classes, such as the box class, the cylinder class, the circle class, and so on, are derived from the baslc graph class. These classes inherit all the attributes belonging to the basic graph class. The joints are special graphs, so the basic joint class also can be derived from the basic graph class. All Joint classes inherit all the attributes of the basic graph class and the basic joint class. This method is hlghly efficient, and easy to realize and to expand. |
Key words: mechanical system,graph simulation,geometric model,object-oriented programmig technique |